[INTERMEDIATE STATE] Pager implementation started
Seems not to work at all. We need to have a further look into this. At least it is somehow not crashing anymore...
BIN
app/src/main/res/drawable/accessory_24_white.png
Normal file
|
After Width: | Height: | Size: 476 B |
BIN
app/src/main/res/drawable/accessory_50_dark_grey.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
app/src/main/res/drawable/character_24_white.png
Normal file
|
After Width: | Height: | Size: 324 B |
BIN
app/src/main/res/drawable/character_50_dark_grey.png
Normal file
|
After Width: | Height: | Size: 846 B |
BIN
app/src/main/res/drawable/kart_24_white.png
Normal file
|
After Width: | Height: | Size: 317 B |
BIN
app/src/main/res/drawable/kart_50_dark_grey.png
Normal file
|
After Width: | Height: | Size: 607 B |
BIN
app/src/main/res/drawable/track_24_white.png
Normal file
|
After Width: | Height: | Size: 277 B |
BIN
app/src/main/res/drawable/track_50_dark_grey.png
Normal file
|
After Width: | Height: | Size: 565 B |
BIN
app/src/main/res/drawable/wheels_24_white.png
Normal file
|
After Width: | Height: | Size: 536 B |
BIN
app/src/main/res/drawable/wheels_50_dark_grey.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
@@ -7,24 +7,19 @@
|
||||
android:orientation="vertical"
|
||||
tools:context="com.de.aldo_apps.aldo.mariokartcircuitselector.GameSelection">
|
||||
|
||||
<EditText
|
||||
android:id="@+id/id_input"
|
||||
<android.support.v4.view.ViewPager
|
||||
android:id="@+id/vp_horizontal_ntb"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"/>
|
||||
|
||||
<devlight.io.library.ntb.NavigationTabBar
|
||||
app:ntb_title_mode="all"
|
||||
app:ntb_titled="true"
|
||||
app:ntb_title_size="14sp"
|
||||
android:id="@+id/ntb_vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:inputType="number" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/ok_button"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Get Track"
|
||||
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/result_field"
|
||||
android:text="TestContent Goes here" />
|
||||
android:layout_height="50dp"
|
||||
app:ntb_preview_colors="@array/vertical_ntb"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
12
app/src/main/res/layout/pager_item.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<ListView
|
||||
android:id="@+id/all_items_list_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical" />
|
||||
|
||||
</ScrollView>
|
||||
15
app/src/main/res/values/arrays.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<string-array name="vertical_ntb">
|
||||
<item>#df5a55</item>
|
||||
<item>#f9bb72</item>
|
||||
<item>#76afcf</item>
|
||||
<item>#dd6495</item>
|
||||
<item>#72d3b4</item>
|
||||
<item>#563d91</item>
|
||||
<item>#56342e</item>
|
||||
<item>#8c9f58</item>
|
||||
</string-array>
|
||||
|
||||
</resources>
|
||||
@@ -2,4 +2,11 @@
|
||||
<string name="app_name">MarioKartCircuitSelector</string>
|
||||
|
||||
<string name="separator">-</string>
|
||||
|
||||
<string name="title_track">Strecken</string>
|
||||
<string name="title_character">Fahrer</string>
|
||||
<string name="title_kart">Karts</string>
|
||||
<string name="title_accessory">Sonstiges</string>
|
||||
<string name="title_wheels">Reifen</string>
|
||||
|
||||
</resources>
|
||||
|
||||