XML String sort

This commit is contained in:
h4h13 2019-11-04 22:39:07 +05:30
parent f926cdeaf6
commit f112d3a375
88 changed files with 75 additions and 1955 deletions

View file

@ -1,40 +0,0 @@
<?xml version="1.0" encoding="utf-8"?><!--
~ Copyright (c) 2019 Hemanth Savarala.
~
~ Licensed under the GNU General Public License v3
~
~ This is free software: you can redistribute it and/or modify it under
~ the terms of the GNU General Public License as published by
~ the Free Software Foundation either version 3 of the License, or (at your option) any later version.
~
~ This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
~ without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
~ See the GNU General Public License for more details.
-->
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_checked="false" android:state_enabled="true">
<shape android:dither="true" android:shape="rectangle" android:useLevel="false" android:visible="true">
<stroke android:width="2dp" android:color="@color/md_white_1000" />
<corners android:radius="25dp" />
<size android:width="2dp" />
<solid android:color="@android:color/transparent" />
</shape>
</item>
<item android:state_checked="true" android:state_enabled="true">
<shape android:dither="true" android:shape="rectangle" android:useLevel="false" android:visible="true">
<stroke android:width="2dp" android:color="@color/md_deep_purple_A700" />
<corners android:radius="25dp" />
<size android:width="2dp" />
<solid android:color="@android:color/transparent" />
</shape>
</item>
<item android:state_enabled="false">
<shape android:dither="true" android:shape="rectangle" android:useLevel="false" android:visible="true">
<stroke android:width="2dp" android:color="?colorOnSecondary" />
<corners android:radius="25dp" />
<size android:width="2dp" />
<solid android:color="@android:color/transparent" />
</shape>
</item>
</selector>

View file

@ -1,40 +0,0 @@
<?xml version="1.0" encoding="utf-8"?><!--
~ Copyright (c) 2019 Hemanth Savarala.
~
~ Licensed under the GNU General Public License v3
~
~ This is free software: you can redistribute it and/or modify it under
~ the terms of the GNU General Public License as published by
~ the Free Software Foundation either version 3 of the License, or (at your option) any later version.
~
~ This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
~ without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
~ See the GNU General Public License for more details.
-->
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_checked="false" android:state_enabled="true">
<shape android:dither="true" android:shape="rectangle" android:useLevel="false" android:visible="true">
<solid android:color="@color/md_white_1000" />
<corners android:radius="10dp" />
<size android:width="20dp" android:height="20dp" />
<stroke android:width="8dp" android:color="#0000ffff" />
</shape>
</item>
<item android:state_checked="true" android:state_enabled="true">
<shape android:dither="true" android:shape="rectangle" android:useLevel="false" android:visible="true">
<solid android:color="@color/md_white_1000" />
<corners android:radius="10dp" />
<size android:width="20dp" android:height="20dp" />
<stroke android:width="8dp" android:color="#0000ffff" />
</shape>
</item>
<item android:state_enabled="false">
<shape android:dither="true" android:shape="rectangle" android:useLevel="false" android:visible="true">
<solid android:color="?colorOnSecondary" />
<corners android:radius="10dp" />
<size android:width="20dp" android:height="20dp" />
<stroke android:width="8dp" android:color="#0000ffff" />
</shape>
</item>
</selector>

View file

@ -1,14 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@android:id/title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:paddingStart="72dp"
android:paddingLeft="16dp"
android:paddingTop="16dp"
android:textAppearance="@style/TextAppearance.MaterialComponents.Overline"
android:textColor="?android:textColorSecondary"
tools:ignore="RtlSymmetry"
tools:text="@string/app_name" />

View file

@ -1,9 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<code.name.monkey.appthemehelper.common.views.ATECheckBox xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@android:id/checkbox"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="6dp"
android:background="@null"
android:clickable="false"
android:focusable="false" />

View file

@ -1,42 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<TableRow xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/custom_list_view_row_table_row"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:paddingLeft="10dip"
android:paddingTop="8dip"
android:paddingRight="10dip"
android:paddingBottom="8dip">
<ImageView
android:id="@+id/custom_list_view_row_selected_indicator"
android:layout_width="wrap_content"
android:layout_height="40dip"
android:layout_gravity="center_vertical"
android:contentDescription="TODO"
android:src="@drawable/ic_toggle_switch" />
<LinearLayout
android:layout_width="0dip"
android:layout_height="fill_parent"
android:layout_weight="1"
android:orientation="vertical"
android:padding="0dip">
<com.google.android.material.textview.MaterialTextView
android:id="@+id/custom_list_view_row_text_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:textColor="#000000" />
<com.google.android.material.textview.MaterialTextView
android:id="@+id/custom_list_view_row_subtext_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:textColor="#000000"
android:textSize="12sp" />
</LinearLayout>
</TableRow>

View file

@ -3,20 +3,14 @@
<!-- Red -->
<color name="md_red_200">#EF9A9A</color>
<color name="md_red_400">#EF5350</color>
<color name="md_red_500">#F44336</color>
<color name="md_red_A700">#D50000</color>
<color name="md_red_A400">#FF1744</color>
<color name="md_red_500A12">#30F44336</color>
<!-- Pink -->
<color name="md_pink_500">#E91E63</color>
<color name="md_pink_A400">#F50057</color>
<!-- Yellow -->
<color name="md_yellow_A400">#FFD600</color>
<color name="md_yellow_500A12">#30FFEB3B</color>
<!-- Deep Purple -->
@ -27,52 +21,35 @@
<color name="md_deep_purple_600">#5E35B1</color>
<color name="md_deep_purple_700">#512DA8</color>
<color name="md_deep_purple_800">#4527A0</color>
<color name="md_deep_purple_500A12">#30673AB7</color>
<color name="md_deep_purple_500">#673AB7</color>
<color name="md_deep_purple_A700">#6200EA</color>
<color name="md_deep_purple_A200">#7C4DFF</color>
<!-- Indigo -->
<color name="md_indigo_500">#3F51B5</color>
<color name="md_indigo_300">#7986CB</color>
<color name="md_indigo_400">#5C6BC0</color>
<color name="md_indigo_600">#3949AB</color>
<color name="md_indigo_700">#303F9F</color>
<color name="md_indigo_800">#283593</color>
<!-- Blue -->
<color name="md_blue_200">#90CAF9</color>
<color name="md_blue_500">#2196F3</color>
<color name="md_blue_A200">#448AFF</color>
<color name="md_blue_A400">#2979FF</color>
<color name="md_blue_A700">#2962FF</color>
<color name="md_blue_500A12">#302196F3</color>
<color name="md_green_A200">#69F0AE</color>
<color name="md_green_A700">#00C853</color>
<color name="md_green_500">#4CAF50</color>
<color name="md_green_500A12">#304CAF50</color>
<color name="md_grey_200">#EEEEEE</color>
<color name="md_grey_400">#BDBDBD</color>
<color name="md_grey_500">#9E9E9E</color>
<color name="md_grey_700">#616161</color>
<color name="md_grey_800">#424242</color>
<color name="md_grey_900">#212121</color>
<color name="md_blue_grey_800">#37474F</color>
<color name="md_black_1000">#000000</color>
<color name="md_white_1000">#FFFFFF</color>
<color name="md_teal_A400">#1DE9B6</color>
<color name="md_deep_orange_A400">#FF3D00</color>
<color name="md_orange_A400">#FF9100</color>
<color name="md_light_green_A400">#76FF03</color>
</resources>

View file

@ -3,9 +3,6 @@
<dimen name="ate_circleview_border">1dp</dimen>
<dimen name="ate_default_textsize_subheading">16sp</dimen>
<dimen name="ate_default_textsize_body">14sp</dimen>
<dimen name="ate_preference_inset">16dp</dimen>
</resources>