Skip to content

Instantly share code, notes, and snippets.

@pchmielowski
Created November 23, 2021 21:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pchmielowski/124fa82fb5bd911053792fc51866f898 to your computer and use it in GitHub Desktop.
Save pchmielowski/124fa82fb5bd911053792fc51866f898 to your computer and use it in GitHub Desktop.
Theme musem - 1
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="8dp"
android:theme="@android:style/Theme.Light">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Classic Android:" />
<Space
android:layout_width="wrap_content"
android:layout_height="4dp" />
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Edit text" />
<Space
android:layout_width="wrap_content"
android:layout_height="4dp" />
<CheckBox
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:checked="true"
android:text="Checkbox" />
<Space
android:layout_width="wrap_content"
android:layout_height="4dp" />
<RadioButton
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:checked="true"
android:text="Radio button" />
<Space
android:layout_width="wrap_content"
android:layout_height="4dp" />
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Button" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="8dp"
android:theme="@android:style/Theme.Holo.Light">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Holo:" />
<Space
android:layout_width="wrap_content"
android:layout_height="4dp" />
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Edit text" />
<Space
android:layout_width="wrap_content"
android:layout_height="4dp" />
<CheckBox
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:checked="true"
android:text="Checkbox" />
<Space
android:layout_width="wrap_content"
android:layout_height="4dp" />
<RadioButton
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:checked="true"
android:text="Radio button" />
<Space
android:layout_width="wrap_content"
android:layout_height="4dp" />
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Button" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="8dp"
android:theme="@style/Theme.AppCompat.Light">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="AppCompat:" />
<Space
android:layout_width="wrap_content"
android:layout_height="4dp" />
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Edit text" />
<Space
android:layout_width="wrap_content"
android:layout_height="4dp" />
<CheckBox
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:checked="true"
android:text="Checkbox" />
<Space
android:layout_width="wrap_content"
android:layout_height="4dp" />
<RadioButton
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:checked="true"
android:text="Radio button" />
<Space
android:layout_width="wrap_content"
android:layout_height="4dp" />
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Button" />
</LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="8dp"
android:theme="@style/Theme.MaterialComponents.Light">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Material 2:" />
<Space
android:layout_width="wrap_content"
android:layout_height="4dp" />
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Edit text" />
<Space
android:layout_width="wrap_content"
android:layout_height="4dp" />
<CheckBox
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:checked="true"
android:text="Checkbox" />
<Space
android:layout_width="wrap_content"
android:layout_height="4dp" />
<RadioButton
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:checked="true"
android:text="Radio button" />
<Space
android:layout_width="wrap_content"
android:layout_height="4dp" />
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Button" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="8dp"
android:theme="@style/Theme.Material3.Light">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Material 3:" />
<Space
android:layout_width="wrap_content"
android:layout_height="4dp" />
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Edit text" />
<Space
android:layout_width="wrap_content"
android:layout_height="4dp" />
<CheckBox
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:checked="true"
android:text="Checkbox" />
<Space
android:layout_width="wrap_content"
android:layout_height="4dp" />
<RadioButton
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:checked="true"
android:text="Radio button" />
<Space
android:layout_width="wrap_content"
android:layout_height="4dp" />
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Button" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment