mirror of
https://github.com/TeamVanced/VancedMicroG
synced 2024-11-19 02:29:25 +01:00
Fix lint issues, reduce min sdk version
This commit is contained in:
parent
c574c62e6d
commit
888db749e7
@ -31,6 +31,10 @@ allprojects {
|
||||
|
||||
def androidCompileSdk() { return 24 }
|
||||
|
||||
def androidTargetSdk() { return 24 }
|
||||
|
||||
def androidMinSdk() { return 7 }
|
||||
|
||||
subprojects {
|
||||
repositories {
|
||||
jcenter()
|
||||
|
@ -31,6 +31,8 @@ android {
|
||||
|
||||
defaultConfig {
|
||||
versionName getMyVersionName()
|
||||
minSdkVersion androidMinSdk()
|
||||
targetSdkVersion androidTargetSdk()
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
|
@ -15,10 +15,4 @@
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="org.microg.tools.ui">
|
||||
|
||||
<uses-sdk
|
||||
android:minSdkVersion="9"
|
||||
android:targetSdkVersion="23" />
|
||||
</manifest>
|
||||
<manifest package="org.microg.tools.ui" />
|
||||
|
@ -262,9 +262,4 @@ public class SwitchBar extends LinearLayout implements CompoundButton.OnCheckedC
|
||||
|
||||
requestLayout();
|
||||
}
|
||||
|
||||
@Override
|
||||
public CharSequence getAccessibilityClassName() {
|
||||
return Switch.class.getName();
|
||||
}
|
||||
}
|
||||
|
@ -41,6 +41,7 @@
|
||||
android:layout_marginLeft="72dp"
|
||||
android:layout_marginRight="16dp"
|
||||
android:layout_marginStart="72dp"
|
||||
android:gravity="start"
|
||||
android:textAlignment="viewStart"
|
||||
android:textColor="?android:attr/textColorPrimaryInverse"
|
||||
android:theme="@style/TextAppearance.AppCompat.Title.Inverse"/>
|
||||
|
@ -23,14 +23,13 @@
|
||||
android:id="@+id/switch_text"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_gravity="start|center_vertical"
|
||||
android:layout_marginLeft="72dp"
|
||||
android:layout_marginStart="72dp"
|
||||
android:layout_weight="1"
|
||||
android:ellipsize="end"
|
||||
android:maxLines="2"
|
||||
android:text="@string/v7_preference_on"
|
||||
android:textAlignment="viewStart"
|
||||
android:textColor="?android:attr/textColorPrimaryInverse"
|
||||
android:theme="@style/TextAppearance.AppCompat.Title.Inverse"/>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user