Skip to content

Commit

Permalink
Release 1.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenwardy committed May 7, 2016
1 parent 0aa95a3 commit 37ca114
Show file tree
Hide file tree
Showing 3 changed files with 110 additions and 12 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ android {
applicationId "com.rubenwardy.minetestmodmanager"
minSdkVersion 9
targetSdkVersion 21
versionCode 6
versionName "1.2.2"
versionCode 7
versionName "1.2.3"
buildConfigField "boolean", "ENABLE_RATE_ME", "false"
}

Expand Down
110 changes: 100 additions & 10 deletions app/src/main/res/layout/mod_list_twopane.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,107 @@
android:layout_width="@dimen/modlist_width"
android:layout_height="match_parent">

<android.support.v7.widget.RecyclerView
android:id="@+id/mod_list"
android:name="com.rubenwardy.minetestmodmanager.ModListFragment"
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginLeft="0dp"
android:layout_marginRight="0dp"
android:scrollbars="vertical"
app:layoutManager="LinearLayoutManager"
tools:context="com.rubenwardy.minetestmodmanager.ModListActivity"
tools:listitem="@layout/mod_list_content" />
android:layout_height="wrap_content"
android:orientation="vertical">

<RelativeLayout
android:id="@+id/rate_me"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:background="#ccc"
android:visibility="gone">

<TextView
android:id="@+id/rate_no"
android:layout_width="wrap_content"
android:gravity="center_vertical"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:text="@string/rate_no"
android:singleLine="true"
android:padding="10dp"
android:textAllCaps="true"
android:textColor="@color/colorAccent"
android:textSize="16sp"
android:textStyle="bold"
android:clickable="true"
android:focusable="true" />

<TextView
android:id="@+id/rate_yes"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/rate_yes"
android:padding="10dp"
android:singleLine="true"
android:gravity="center_vertical"
android:layout_toLeftOf="@id/rate_no"
android:textAllCaps="true"
android:textColor="@color/colorAccent"
android:textSize="16sp"
android:textStyle="bold"
android:clickable="true"
android:focusable="true" />

<TextView
android:id="@+id/rate_txt"
android:padding="10dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_toLeftOf="@id/rate_yes"
android:text="@string/rate_txt" />
</RelativeLayout>

<RelativeLayout
android:id="@+id/help_config"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:background="#ccc"
android:visibility="gone">

<TextView
android:id="@+id/help_config_close"
android:layout_width="wrap_content"
android:gravity="center_vertical"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:text="@string/dialog_close"
android:singleLine="true"
android:padding="10dp"
android:textAllCaps="true"
android:textColor="@color/colorAccent"
android:textSize="16sp"
android:textStyle="bold"
android:clickable="true"
android:focusable="true" />

<TextView
android:padding="10dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_toLeftOf="@id/help_config_close"
android:text="@string/help_config" />
</RelativeLayout>

<android.support.v7.widget.RecyclerView
android:id="@+id/mod_list"
android:name="com.rubenwardy.minetestmodmanager.ModListFragment"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginLeft="0dp"
android:layout_marginRight="0dp"
android:scrollbars="vertical"
app:layoutManager="LinearLayoutManager"
tools:context="com.rubenwardy.minetestmodmanager.ModListActivity"
tools:listitem="@layout/mod_list_content" />

</LinearLayout>

</android.support.v4.widget.SwipeRefreshLayout>

Expand Down
8 changes: 8 additions & 0 deletions app/src/main/res/values-es/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@
<string name="modlist_multicraft">Mods instalados para MultiCraft</string>
<string name="modlist_available_mods">Mods disponibles</string>

<!-- Rating -->
<string name="rate_txt">Hey! Fancy giving us some stars?</string>
<string name="rate_yes">Rate</string>
<string name="rate_no">No</string>

<!-- Help -->
<string name="help_config">Enable a mod by clicking the world icon.</string>

<!-- Mod Events -->
<string name="installing_mod">Instalando mod…</string>
<string name="installed_mod">Instalando %1$s.</string>
Expand Down

0 comments on commit 37ca114

Please sign in to comment.