enabled width and alignment adjustment for all layouts
This commit is contained in:
parent
b340058861
commit
78e559fe19
27 changed files with 204 additions and 175 deletions
|
|
@ -1,11 +1,11 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
style="@style/TTheme.FullScreenContainer"
|
||||
android:id="@+id/full_screen_container">
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
style="@style/TTheme.FullScreenContainer">
|
||||
|
||||
<LinearLayout style="@style/TTheme.FullScreenContainer.SideBumper" android:id="@+id/numpad_bumper_left" />
|
||||
<LinearLayout style="@style/TTheme.FullScreenContainer.SideBumper" android:id="@+id/bumper_left" />
|
||||
|
||||
<LinearLayout style="@style/TTheme.Numpad" android:id="@+id/numpad_container">
|
||||
<LinearLayout style="@style/TTheme.Numpad" android:id="@+id/keyboard_container">
|
||||
<View style="@style/TTheme.Keyboard.TopSeparator" />
|
||||
<include layout="@layout/panel_numpad_status_bar" />
|
||||
|
||||
|
|
@ -22,6 +22,6 @@
|
|||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout style="@style/TTheme.FullScreenContainer.SideBumper" android:id="@+id/numpad_bumper_right" />
|
||||
<LinearLayout style="@style/TTheme.FullScreenContainer.SideBumper" android:id="@+id/bumper_right" />
|
||||
|
||||
</LinearLayout>
|
||||
|
|
|
|||
|
|
@ -1,46 +1,26 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
style="@style/TTheme.MainSmall">
|
||||
style="@style/TTheme.FullScreenContainer">
|
||||
|
||||
<View style="@style/TTheme.Keyboard.TopSeparator" />
|
||||
<LinearLayout style="@style/TTheme.FullScreenContainer.SideBumper" android:id="@+id/bumper_left" />
|
||||
|
||||
<FrameLayout
|
||||
style="@style/TTheme.MainSmall.StatusBar.Wrapper"
|
||||
android:defaultFocusHighlightEnabled="false"
|
||||
android:focusable="false"
|
||||
android:focusableInTouchMode="false">
|
||||
<LinearLayout style="@style/TTheme.MainSmall" android:id="@+id/keyboard_container">
|
||||
<View style="@style/TTheme.Keyboard.TopSeparator" />
|
||||
<include layout="@layout/panel_small_status_bar" />
|
||||
<include layout="@layout/panel_small_function_keys" android:id="@+id/main_soft_keys" />
|
||||
|
||||
<TextView
|
||||
style="@style/TTheme.MainSmall.StatusBar.Status"
|
||||
android:id="@+id/status_bar"
|
||||
android:defaultFocusHighlightEnabled="false"
|
||||
android:focusable="false"
|
||||
android:focusableInTouchMode="false"
|
||||
tools:text="@tools:sample/lorem" />
|
||||
<include
|
||||
layout="@layout/panel_small_command_palette"
|
||||
android:id="@+id/main_command_keys"
|
||||
android:visibility="gone" />
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
style="@style/TTheme.MainSmall.StatusBar.SuggestionList"
|
||||
android:id="@+id/suggestions_bar"
|
||||
android:defaultFocusHighlightEnabled="false"
|
||||
android:focusable="false"
|
||||
android:focusableInTouchMode="false" />
|
||||
<include
|
||||
layout="@layout/panel_small_text_editing"
|
||||
android:id="@+id/text_editing_container"
|
||||
android:visibility="gone" />
|
||||
</LinearLayout>
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
<include
|
||||
layout="@layout/panel_small_function_keys"
|
||||
android:id="@+id/main_soft_keys" />
|
||||
|
||||
<include
|
||||
layout="@layout/panel_small_command_palette"
|
||||
android:id="@+id/main_command_keys"
|
||||
android:visibility="gone" />
|
||||
|
||||
<include
|
||||
layout="@layout/panel_small_text_editing"
|
||||
android:id="@+id/text_editing_container"
|
||||
android:visibility="gone" />
|
||||
<LinearLayout style="@style/TTheme.FullScreenContainer.SideBumper" android:id="@+id/bumper_right" />
|
||||
|
||||
</LinearLayout>
|
||||
|
|
|
|||
|
|
@ -1,13 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/main_soft_keys"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
android:layout_height="match_parent" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:id="@+id/main_soft_keys"
|
||||
android:orientation="horizontal">
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
|
|
|||
25
app/src/main/res/layout/panel_small_status_bar.xml
Normal file
25
app/src/main/res/layout/panel_small_status_bar.xml
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
style="@style/TTheme.MainSmall.StatusBar.Wrapper"
|
||||
android:defaultFocusHighlightEnabled="false"
|
||||
android:focusable="false"
|
||||
android:focusableInTouchMode="false">
|
||||
|
||||
<TextView
|
||||
style="@style/TTheme.MainSmall.StatusBar.Status"
|
||||
android:id="@+id/status_bar"
|
||||
android:defaultFocusHighlightEnabled="false"
|
||||
android:focusable="false"
|
||||
android:focusableInTouchMode="false"
|
||||
tools:text="@tools:sample/lorem" />
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
style="@style/TTheme.MainSmall.StatusBar.SuggestionList"
|
||||
android:id="@+id/suggestions_bar"
|
||||
android:defaultFocusHighlightEnabled="false"
|
||||
android:focusable="false"
|
||||
android:focusableInTouchMode="false" />
|
||||
|
||||
</FrameLayout>
|
||||
Loading…
Add table
Add a link
Reference in a new issue