mirror of
https://github.com/gsantner/dandelion
synced 2025-12-08 21:31:10 +01:00
Reworked UI using Fragments
This commit is contained in:
parent
2aaddec3a3
commit
e4d4305fc1
15 changed files with 447 additions and 223 deletions
|
|
@ -17,7 +17,7 @@
|
|||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/linearlayout"
|
||||
android:id="@+id/appbar_linear_layout"
|
||||
android:orientation="vertical"
|
||||
android:background="?attr/colorPrimary"
|
||||
app:layout_scrollFlags="scroll|enterAlways|snap"
|
||||
|
|
|
|||
11
app/src/main/res/layout/test__fragment.xml
Normal file
11
app/src/main/res/layout/test__fragment.xml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical" android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/lorem_ipsum"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
|
@ -35,4 +35,11 @@
|
|||
android:title="@string/action_exit_app"
|
||||
/>
|
||||
|
||||
<item
|
||||
android:id="@+id/action_debug_button"
|
||||
app:showAsAction="never"
|
||||
android:orderInCategory="1000"
|
||||
android:title="DEBUG"
|
||||
/>
|
||||
|
||||
</menu>
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@
|
|||
android:title="@string/settings" />
|
||||
|
||||
<item
|
||||
android:id="@+id/nav_help_license"
|
||||
android:id="@+id/nav_about"
|
||||
android:icon="@drawable/ic_info_black_48px"
|
||||
android:title="@string/nav_help_license" />
|
||||
</menu>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue