pref: 优化看图界面底栏背景
This commit is contained in:
parent
e2c4d64a2c
commit
c634f8550b
|
|
@ -31,6 +31,9 @@ android {
|
|||
versionCode applicationVersionCode
|
||||
versionName applicationVersionName
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
vectorDrawables {
|
||||
useSupportLibrary true
|
||||
}
|
||||
}
|
||||
signingConfigs {
|
||||
release {
|
||||
|
|
@ -59,14 +62,25 @@ android {
|
|||
targetCompatibility JavaVersion.VERSION_1_8
|
||||
sourceCompatibility JavaVersion.VERSION_1_8
|
||||
}
|
||||
kotlinOptions {
|
||||
jvmTarget = '1.8'
|
||||
useIR = true
|
||||
}
|
||||
packagingOptions {
|
||||
resources {
|
||||
excludes += '/META-INF/{AL2.0,LGPL2.1}'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation "org.jetbrains:annotations:19.0.0"
|
||||
|
||||
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
|
||||
api "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.2"
|
||||
api "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.8"
|
||||
api "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.2"
|
||||
api "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.2"
|
||||
|
||||
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.3.1'
|
||||
|
||||
//Local Files
|
||||
implementation fileTree(include: ["*.jar"], dir: "libs")
|
||||
|
|
@ -83,7 +97,7 @@ dependencies {
|
|||
implementation "androidx.appcompat:appcompat:1.3.1"
|
||||
implementation "androidx.core:core-ktx:1.6.0"
|
||||
implementation "androidx.annotation:annotation:1.2.0"
|
||||
implementation "androidx.constraintlayout:constraintlayout:2.1.0"
|
||||
implementation "androidx.constraintlayout:constraintlayout:2.1.1"
|
||||
implementation "androidx.preference:preference-ktx:1.1.1"
|
||||
implementation "androidx.gridlayout:gridlayout:1.0.0"
|
||||
implementation "androidx.browser:browser:1.3.0"
|
||||
|
|
@ -133,7 +147,7 @@ dependencies {
|
|||
implementation "com.jakewharton:butterknife:10.2.3"
|
||||
kapt "com.jakewharton:butterknife-compiler:10.2.3"
|
||||
|
||||
implementation ("com.alibaba.android:vlayout:1.2.8@aar") {
|
||||
implementation ("com.alibaba.android:vlayout:1.2.31@aar") {
|
||||
transitive = true
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -130,16 +130,15 @@
|
|||
android:windowSoftInputMode="adjustResize" />
|
||||
|
||||
<service
|
||||
android:process=":oksign"
|
||||
android:name=".services.OKSignService"
|
||||
android:exported="false" />
|
||||
android:exported="false"
|
||||
android:process=":oksign" />
|
||||
|
||||
<activity
|
||||
android:name=".activities.HistoryActivity"
|
||||
android:configChanges="screenSize|screenLayout|orientation|smallestScreenSize|keyboardHidden"
|
||||
android:label="@string/title_history"
|
||||
android:windowSoftInputMode="adjustResize" />
|
||||
|
||||
<activity
|
||||
android:name=".activities.OKSignActivity"
|
||||
android:excludeFromRecents="true"
|
||||
|
|
@ -148,7 +147,6 @@
|
|||
<action android:name="com.huanchengfly.tieba.post.action.OKSIGN" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
<activity
|
||||
android:name=".activities.AboutActivity"
|
||||
android:configChanges="screenSize|screenLayout|orientation|smallestScreenSize|keyboardHidden"
|
||||
|
|
@ -235,10 +233,6 @@
|
|||
android:exported="true"
|
||||
android:permission="android.permission.BIND_JOB_SERVICE" />
|
||||
|
||||
<activity
|
||||
android:name=".activities.ThemeActivity"
|
||||
android:configChanges="screenSize|screenLayout|orientation|smallestScreenSize|keyboardHidden"
|
||||
android:windowSoftInputMode="adjustResize" />
|
||||
<activity
|
||||
android:name=".activities.SearchPostActivity"
|
||||
android:configChanges="screenSize|screenLayout|orientation|smallestScreenSize|keyboardHidden"
|
||||
|
|
|
|||
|
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<gradient
|
||||
android:angle="270"
|
||||
android:endColor="@color/black_trans"
|
||||
android:startColor="@color/transparent"
|
||||
android:type="linear" />
|
||||
</shape>
|
||||
|
|
@ -4,11 +4,7 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<shape android:shape="rectangle">
|
||||
<gradient
|
||||
android:angle="0"
|
||||
android:endColor="@color/colorSplashBg"
|
||||
android:startColor="@color/colorSplashBg"
|
||||
android:type="linear" />
|
||||
<solid android:color="@color/colorSplashBg" />
|
||||
</shape>
|
||||
</item>
|
||||
</layer-list>
|
||||
|
|
@ -21,7 +21,8 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom"
|
||||
app:backgroundTint="@color/transparent"
|
||||
android:background="@drawable/bg_photo_view_bottom_bar"
|
||||
app:backgroundTint="@color/black_trans"
|
||||
app:elevation="0dp"
|
||||
app:hideOnScroll="true"
|
||||
app:menu="@menu/menu_photo_view"
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ buildscript {
|
|||
ext {
|
||||
glide_version = "4.12.0"
|
||||
retrofit_version = "2.9.0"
|
||||
kotlin_version = '1.5.21'
|
||||
kotlin_version = '1.5.31'
|
||||
}
|
||||
repositories {
|
||||
google()
|
||||
|
|
@ -12,7 +12,7 @@ buildscript {
|
|||
maven { url "https://maven.aliyun.com/repository/public" }
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:7.0.1'
|
||||
classpath 'com.android.tools.build:gradle:7.0.3'
|
||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue