debugging

This commit is contained in:
X1nto 2020-05-24 11:57:48 +04:00
parent 6583b39b03
commit c3dd203b5a
4 changed files with 33 additions and 6 deletions

View File

@ -72,15 +72,15 @@
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/build/generated/renderscript_source_output_dir/debug/out" isTestSource="false" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/kaptKotlin/debug" isTestSource="false" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/aidl_source_output_dir/debug/out" isTestSource="false" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/buildConfig/debug" isTestSource="false" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/kapt/debug" isTestSource="false" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/ap_generated_sources/debug/out" isTestSource="false" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/buildConfig/debug" isTestSource="false" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/aidl_source_output_dir/debug/out" isTestSource="false" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/res/rs/debug" type="java-resource" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/ap_generated_sources/debugAndroidTest/out" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/aidl_source_output_dir/debugAndroidTest/out" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/buildConfig/androidTest/debug" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/kapt/debugAndroidTest" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/ap_generated_sources/debugAndroidTest/out" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/buildConfig/androidTest/debug" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/aidl_source_output_dir/debugAndroidTest/out" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/renderscript_source_output_dir/debugAndroidTest/out" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/res/rs/androidTest/debug" type="java-test-resource" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/kapt/debugUnitTest" isTestSource="true" generated="true" />

View File

@ -19,8 +19,9 @@ open class ThemeInstall : BaseFragment() {
val selectedThemeId = themeGroup.checkedRadioButtonId
val selectedButton = view.findViewById<RadioButton>(selectedThemeId)
nextButton.setOnClickListener {
Toast.makeText(requireContext(), selectedButton.id.toString(), Toast.LENGTH_SHORT).show()
Toast.makeText(requireContext(), selectedButton.tag.toString(), Toast.LENGTH_SHORT).show()
//downloadSplit("theme", selectedThemeId.toString(), false, loadBar, R.id.toInstallVariantFragment)
}
}

View File

@ -32,6 +32,7 @@
android:layout_height="wrap_content"
android:textSize="18sp"
android:text="@string/install_light_dark"
android:tag="dark"
android:fontFamily="@font/exo_semibold"/>
<com.google.android.material.radiobutton.MaterialRadioButton
@ -40,6 +41,7 @@
android:layout_height="wrap_content"
android:textSize="18sp"
android:fontFamily="@font/exo_semibold"
android:tag="black"
android:text="@string/install_light_black"/>
</RadioGroup>

View File

@ -19,6 +19,7 @@
android:layout_height="wrap_content"
android:fontFamily="@font/exo_semibold"
android:text="English (default)"
android:tag="en"
android:textSize="18sp" />
<com.google.android.material.radiobutton.MaterialRadioButton
@ -27,6 +28,7 @@
android:layout_height="wrap_content"
android:fontFamily="@font/exo_semibold"
android:text="Indonesian"
android:tag="in"
android:textSize="18sp" />
<com.google.android.material.radiobutton.MaterialRadioButton
@ -43,6 +45,7 @@
android:layout_height="wrap_content"
android:fontFamily="@font/exo_semibold"
android:text="Deutsch"
android:tag="de"
android:textSize="18sp" />
<com.google.android.material.radiobutton.MaterialRadioButton
@ -51,6 +54,7 @@
android:layout_height="wrap_content"
android:fontFamily="@font/exo_semibold"
android:text="Espanól"
android:tag="es"
android:textSize="18sp" />
<com.google.android.material.radiobutton.MaterialRadioButton
@ -59,6 +63,7 @@
android:layout_height="wrap_content"
android:fontFamily="@font/exo_semibold"
android:text="Français"
android:tag="fr"
android:textSize="18sp" />
<com.google.android.material.radiobutton.MaterialRadioButton
@ -67,6 +72,7 @@
android:layout_height="wrap_content"
android:fontFamily="@font/exo_semibold"
android:text="Hrvatski"
android:tag="hr"
android:textSize="18sp" />
<com.google.android.material.radiobutton.MaterialRadioButton
@ -75,6 +81,7 @@
android:layout_height="wrap_content"
android:fontFamily="@font/exo_semibold"
android:text="Italiano"
android:tag="it"
android:textSize="18sp" />
<com.google.android.material.radiobutton.MaterialRadioButton
@ -83,6 +90,7 @@
android:layout_height="wrap_content"
android:fontFamily="@font/exo_semibold"
android:text="Magyar"
android:tag="ma"
android:textSize="18sp" />
<com.google.android.material.radiobutton.MaterialRadioButton
@ -91,6 +99,7 @@
android:layout_height="wrap_content"
android:fontFamily="@font/exo_semibold"
android:text="Dutch"
android:tag="nl"
android:textSize="18sp" />
<com.google.android.material.radiobutton.MaterialRadioButton
@ -99,6 +108,7 @@
android:layout_height="wrap_content"
android:fontFamily="@font/exo_semibold"
android:text="Polski"
android:tag="nl"
android:textSize="18sp" />
<com.google.android.material.radiobutton.MaterialRadioButton
@ -107,6 +117,7 @@
android:layout_height="wrap_content"
android:fontFamily="@font/exo_semibold"
android:text="Português (Brasil)"
android:tag="pt"
android:textSize="18sp" />
<com.google.android.material.radiobutton.MaterialRadioButton
@ -115,6 +126,7 @@
android:layout_height="wrap_content"
android:fontFamily="@font/exo_semibold"
android:text="Română"
android:tag="ro"
android:textSize="18sp" />
<com.google.android.material.radiobutton.MaterialRadioButton
@ -123,6 +135,7 @@
android:layout_height="wrap_content"
android:fontFamily="@font/exo_semibold"
android:text="Suomi"
android:tag="fi"
android:textSize="18sp" />
<com.google.android.material.radiobutton.MaterialRadioButton
@ -131,6 +144,7 @@
android:layout_height="wrap_content"
android:fontFamily="@font/exo_semibold"
android:text="Svenska"
android:tag="sv"
android:textSize="18sp" />
<com.google.android.material.radiobutton.MaterialRadioButton
@ -147,6 +161,7 @@
android:layout_height="wrap_content"
android:fontFamily="@font/exo_semibold"
android:text="Türkçe"
android:tag="tr"
android:textSize="18sp" />
<com.google.android.material.radiobutton.MaterialRadioButton
@ -155,6 +170,7 @@
android:layout_height="wrap_content"
android:fontFamily="@font/exo_semibold"
android:text="Ελληνικά"
android:tag="hy"
android:textSize="18sp" />
<com.google.android.material.radiobutton.MaterialRadioButton
@ -163,6 +179,7 @@
android:layout_height="wrap_content"
android:fontFamily="@font/exo_semibold"
android:text="Български"
android:tag="bg"
android:textSize="18sp" />
<com.google.android.material.radiobutton.MaterialRadioButton
@ -171,6 +188,7 @@
android:layout_height="wrap_content"
android:fontFamily="@font/exo_semibold"
android:text="Русский"
android:tag="ru"
android:textSize="18sp" />
<com.google.android.material.radiobutton.MaterialRadioButton
@ -179,6 +197,7 @@
android:layout_height="wrap_content"
android:fontFamily="@font/exo_semibold"
android:text="Українська"
android:tag="uk"
android:textSize="18sp" />
<com.google.android.material.radiobutton.MaterialRadioButton
@ -187,6 +206,7 @@
android:layout_height="wrap_content"
android:fontFamily="@font/exo_semibold"
android:text="العربية"
android:tag="ar"
android:textSize="18sp" />
<com.google.android.material.radiobutton.MaterialRadioButton
@ -195,6 +215,7 @@
android:layout_height="wrap_content"
android:fontFamily="@font/exo_semibold"
android:text="ქართული"
android:tag="ka"
android:textSize="18sp" />
<com.google.android.material.radiobutton.MaterialRadioButton
@ -203,6 +224,7 @@
android:layout_height="wrap_content"
android:fontFamily="@font/exo_semibold"
android:text="日本語"
android:tag="ja"
android:textSize="18sp" />
<com.google.android.material.radiobutton.MaterialRadioButton
@ -211,6 +233,7 @@
android:layout_height="wrap_content"
android:fontFamily="@font/exo_semibold"
android:text="繁體中文"
android:tag="zh"
android:textSize="18sp" />
<com.google.android.material.radiobutton.MaterialRadioButton
@ -219,6 +242,7 @@
android:layout_height="wrap_content"
android:fontFamily="@font/exo_semibold"
android:text="한국어"
android:tag="ko"
android:textSize="18sp" />
</RadioGroup>