diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2025-05-09 11:48:11 +0300 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2025-05-09 11:48:11 +0300 |
| commit | ad79be228c6083112042b1019016ca8a1d23f0ff (patch) | |
| tree | 90fcda3441786dc851f0152c465ff73eb9cd1162 /org.fox.ttrss/src/main/res/layout-sw600dp-land | |
| parent | 9cd2d09126ee257f067e151937a433dd2cf45b74 (diff) | |
prune unnecessary views, add some corners to detail activity on tablets
Diffstat (limited to 'org.fox.ttrss/src/main/res/layout-sw600dp-land')
| -rw-r--r-- | org.fox.ttrss/src/main/res/layout-sw600dp-land/activity_detail.xml | 72 | ||||
| -rw-r--r-- | org.fox.ttrss/src/main/res/layout-sw600dp-land/activity_master.xml | 3 |
2 files changed, 72 insertions, 3 deletions
diff --git a/org.fox.ttrss/src/main/res/layout-sw600dp-land/activity_detail.xml b/org.fox.ttrss/src/main/res/layout-sw600dp-land/activity_detail.xml new file mode 100644 index 00000000..09534bc7 --- /dev/null +++ b/org.fox.ttrss/src/main/res/layout-sw600dp-land/activity_detail.xml @@ -0,0 +1,72 @@ +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/headlines" + android:fitsSystemWindows="true" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:orientation="vertical" > + + <FrameLayout + android:id="@+id/sw600dp_anchor" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:visibility="gone" > + </FrameLayout> + + <LinearLayout + android:id="@+id/fragment_container" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:baselineAligned="false" + android:orientation="horizontal" > + + <com.google.android.material.navigation.NavigationView + xmlns:app="http://schemas.android.com/apk/res-auto" + android:id="@+id/navigation_view" + android:background="?colorSurfaceContainer" + android:layout_width="0dp" + android:layout_weight="0.3" + android:layout_height="match_parent" + android:padding="8dp" + app:shapeAppearance="@style/ShapeAppearanceHeadlinesTablet" + android:layout_gravity="start"> + + <FrameLayout + android:id="@+id/headlines_fragment" + android:layout_width="wrap_content" + android:layout_height="match_parent"> + </FrameLayout> + + </com.google.android.material.navigation.NavigationView> + + <androidx.coordinatorlayout.widget.CoordinatorLayout + xmlns:app="http://schemas.android.com/apk/res-auto" + android:layout_width="0dp" + android:layout_weight="0.7" + android:layout_height="match_parent"> + + <com.google.android.material.appbar.AppBarLayout + android:layout_width="match_parent" + android:layout_height="wrap_content"> + + <include layout="@layout/toolbar" android:id="@+id/toolbar" /> + </com.google.android.material.appbar.AppBarLayout> + + <FrameLayout + android:layout_width="match_parent" + android:id="@+id/article_fragment" + app:layout_behavior=".util.DetailActivityScrollingViewBehavior" + android:layout_height="match_parent"/> + + <com.google.android.material.floatingactionbutton.FloatingActionButton + android:id="@+id/detail_fab" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="end|bottom" + android:visibility="gone" + android:src="@drawable/baseline_open_in_browser_24" + android:layout_margin="16dp" /> + + </androidx.coordinatorlayout.widget.CoordinatorLayout> + </LinearLayout> + +</LinearLayout>
\ No newline at end of file diff --git a/org.fox.ttrss/src/main/res/layout-sw600dp-land/activity_master.xml b/org.fox.ttrss/src/main/res/layout-sw600dp-land/activity_master.xml index 2987bab3..b6a6f19d 100644 --- a/org.fox.ttrss/src/main/res/layout-sw600dp-land/activity_master.xml +++ b/org.fox.ttrss/src/main/res/layout-sw600dp-land/activity_master.xml @@ -39,7 +39,6 @@ <androidx.coordinatorlayout.widget.CoordinatorLayout android:layout_width="0dp" android:layout_weight="0.75" - android:elevation="4dp" android:layout_height="match_parent"> <com.google.android.material.appbar.AppBarLayout @@ -56,8 +55,6 @@ android:layout_width="match_parent" android:background="?colorSurfaceContainer" android:minHeight="?attr/actionBarSize"/> - - </com.google.android.material.appbar.AppBarLayout> <FrameLayout |