mirror of
https://github.com/FatttSnake/OxygenToolbox.git
synced 2026-04-06 14:01:27 +08:00
Optimized FoldLayout: Add default status control.
This commit is contained in:
@@ -1,13 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/fold_layout_linear_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:background="@drawable/top_bottom_radius_background"
|
||||
android:gravity="center_vertical">
|
||||
|
||||
<TextView
|
||||
@@ -34,6 +32,5 @@
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="15dp"
|
||||
android:layout_weight="1"
|
||||
android:contentDescription="@string/arrow_icon"
|
||||
app:srcCompat="@drawable/right_to_down_arrow" />
|
||||
android:contentDescription="@string/arrow_icon" />
|
||||
</LinearLayout>
|
||||
@@ -5,4 +5,5 @@
|
||||
<dimen name="activity_vertical_margin">16dp</dimen>
|
||||
<dimen name="nav_header_vertical_spacing">8dp</dimen>
|
||||
<dimen name="nav_header_height">176dp</dimen>
|
||||
<dimen name="default_text_size">20sp</dimen>
|
||||
</resources>
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources xmlns:tools="http://schemas.android.com/tools">
|
||||
<resources>
|
||||
<!-- Base application theme. -->
|
||||
<style name="Theme.OxygenToolbox.Default" parent="Theme.MaterialComponents.DayNight.DarkActionBar.Bridge">
|
||||
<!-- Primary brand color. -->
|
||||
@@ -11,11 +11,12 @@
|
||||
<item name="colorSecondaryVariant">@color/default_app_second_theme</item>
|
||||
<item name="colorOnSecondary">@color/default_app_second_on_theme</item>
|
||||
<!-- Status bar color. -->
|
||||
<item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item>
|
||||
<item name="android:statusBarColor" >?attr/colorPrimaryVariant</item>
|
||||
<!-- Customize your theme here. -->
|
||||
<item name="windowActionBar">false</item>
|
||||
<item name="windowNoTitle">true</item>
|
||||
<item name="android:windowTranslucentNavigation">true</item>
|
||||
<item name="android:windowDisablePreview">true</item>
|
||||
|
||||
<item name="app_theme">@color/default_app_theme</item>
|
||||
<item name="app_on_theme">@color/default_app_on_theme</item>
|
||||
|
||||
Reference in New Issue
Block a user