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