Compare commits
61 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
219a403f36 | ||
|
|
ed6ea22947 | ||
|
|
3bb966cf35 | ||
|
|
2b11547eeb | ||
|
|
d98cb7b53f | ||
|
|
d935be7b0a | ||
|
|
aa37d6e7f9 | ||
|
|
f72cd5b0ff | ||
|
|
5116c61f43 | ||
|
|
687beda478 | ||
|
|
bb5fe39d3d | ||
|
|
0e9be13cb6 | ||
|
|
23b274c472 | ||
|
|
a11f6ea1e6 | ||
|
|
c05555c290 | ||
|
|
6caee6b0f0 | ||
|
|
ae4f6b1dd4 | ||
|
|
40af2a81db | ||
|
|
cb3cf7789f | ||
|
|
0f7f458ce0 | ||
|
|
26bcb590a7 | ||
|
|
05894827c1 | ||
|
|
58be07f5b1 | ||
|
|
f1137927d4 | ||
|
|
37fbd769b7 | ||
|
|
3f6aae633e | ||
|
|
85c6957b63 | ||
|
|
c318d42d14 | ||
|
|
455f28ae54 | ||
|
|
b5dda3624f | ||
|
|
11613ad69f | ||
|
|
6d0720c956 | ||
|
|
8999e5fc54 | ||
|
|
82d7300fc0 | ||
|
|
12255ed453 | ||
|
|
5fe7c687f3 | ||
|
|
200fc0c599 | ||
|
|
4d8108f34d | ||
|
|
a0246836a8 | ||
|
|
d6a970133e | ||
|
|
26f77bd00f | ||
|
|
7cc2941053 | ||
|
|
6a1bbedae8 | ||
|
|
e3760630bf | ||
|
|
ce77cb81df | ||
|
|
4dce95142f | ||
|
|
570f79d91a | ||
|
|
a712875830 | ||
|
|
3a07809545 | ||
|
|
bb6b86ad59 | ||
|
|
bd2e984963 | ||
|
|
9408579862 | ||
|
|
0cf9206170 | ||
|
|
86c607a211 | ||
|
|
ec60c24849 | ||
|
|
72bd6d5844 | ||
|
|
f1e8357131 | ||
|
|
21341c5213 | ||
|
|
fa2f9686ce | ||
|
|
05e45e92cf | ||
|
|
ce610e0262 |
1
.gitignore
vendored
@@ -20,3 +20,4 @@ signing.properties
|
||||
library/lib/
|
||||
library/obj/
|
||||
ffpr
|
||||
test/androidTestEspresso/res/values/arrays.xml
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
package="org.thoughtcrime.securesms"
|
||||
android:versionCode="122"
|
||||
android:versionName="2.16.2">
|
||||
android:versionCode="128"
|
||||
android:versionName="2.18.2">
|
||||
|
||||
<uses-sdk tools:overrideLibrary="com.amulyakhare.textdrawable,com.astuetz.pagerslidingtabstrip"/>
|
||||
|
||||
@@ -226,6 +226,14 @@
|
||||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
<activity android:name=".RecipientPreferenceActivity"
|
||||
android:theme="@style/TextSecure.LightNoActionBar"
|
||||
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
|
||||
|
||||
<activity android:name=".BlockedContactsActivity"
|
||||
android:theme="@style/TextSecure.LightTheme"
|
||||
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
|
||||
|
||||
<activity android:name="com.soundcloud.android.crop.CropImageActivity" />
|
||||
|
||||
<service android:enabled="true" android:name=".service.ApplicationMigrationService"/>
|
||||
|
||||
|
Before Width: | Height: | Size: 347 KiB |
|
Before Width: | Height: | Size: 436 KiB |
|
Before Width: | Height: | Size: 515 KiB |
|
Before Width: | Height: | Size: 273 KiB |
|
Before Width: | Height: | Size: 315 KiB |
BIN
assets/emoji-nature.png
Normal file
|
After Width: | Height: | Size: 332 KiB |
BIN
assets/emoji-objects.png
Normal file
|
After Width: | Height: | Size: 283 KiB |
BIN
assets/emoji-people.png
Normal file
|
After Width: | Height: | Size: 227 KiB |
BIN
assets/emoji-places.png
Normal file
|
After Width: | Height: | Size: 177 KiB |
BIN
assets/emoji-symbol.png
Normal file
|
After Width: | Height: | Size: 206 KiB |
52
build.gradle
@@ -35,7 +35,7 @@ repositories {
|
||||
|
||||
dependencies {
|
||||
compile 'me.leolin:ShortcutBadger:1.1.0-WS1'
|
||||
compile 'se.emilsjolander:stickylistheaders:2.2.0'
|
||||
compile 'se.emilsjolander:stickylistheaders:2.7.0'
|
||||
compile 'com.google.android.gms:play-services-base:6.5.87'
|
||||
compile 'com.jpardogo.materialtabstrip:library:1.0.9'
|
||||
compile 'org.w3c:smil:1.0.0'
|
||||
@@ -76,15 +76,21 @@ dependencies {
|
||||
exclude group: 'org.hamcrest', module: 'hamcrest-core'
|
||||
}
|
||||
androidTestCompile ('com.squareup.assertj:assertj-android:1.0.0') {
|
||||
exclude group: 'org.hamcrest', module: 'hamcrest-core'
|
||||
exclude group: 'org.hamcrest', module: 'hamcrest-core'
|
||||
exclude group: 'com.android.support', module: 'support-annotations'
|
||||
}
|
||||
androidTestCompile ('com.android.support.test:runner:0.2') {
|
||||
exclude group: 'com.android.support', module: 'support-annotations'
|
||||
}
|
||||
androidTestCompile ('com.android.support.test.espresso:espresso-core:2.1') {
|
||||
exclude group: 'javax.inject'
|
||||
}
|
||||
androidTestCompile 'com.android.support.test:runner:0.2'
|
||||
}
|
||||
|
||||
dependencyVerification {
|
||||
verify = [
|
||||
'me.leolin:ShortcutBadger:3142d017234bfa0cdd69ccded7cc5ea63f13b97574803c8c616c9bbeaad33ad9',
|
||||
'se.emilsjolander:stickylistheaders:89146b46c96fea0e40200474a2625cda10fe94891e4128f53cdb42375091b9b6',
|
||||
'se.emilsjolander:stickylistheaders:a08ca948aa6b220f09d82f16bbbac395f6b78897e9eeac6a9f0b0ba755928eeb',
|
||||
'com.google.android.gms:play-services-base:832cb6b3130e871db6a412c4ab585656dbcc5e7948101f190186757785703f75',
|
||||
'com.jpardogo.materialtabstrip:library:c6ef812fba4f74be7dc4a905faa4c2908cba261a94c13d4f96d5e67e4aad4aaa',
|
||||
'org.w3c:smil:085dc40f2bb249651578bfa07499fd08b16ad0886dbe2c4078586a408da62f9b',
|
||||
@@ -129,7 +135,7 @@ dependencyVerification {
|
||||
android {
|
||||
compileSdkVersion 22
|
||||
buildToolsVersion '22.0.1'
|
||||
testBuildType "testing"
|
||||
testBuildType "debugTest"
|
||||
|
||||
dexOptions {
|
||||
javaMaxHeapSize "4g"
|
||||
@@ -141,6 +147,7 @@ android {
|
||||
|
||||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||||
buildConfigField "long", "BUILD_TIMESTAMP", System.currentTimeMillis() + "L"
|
||||
buildConfigField "String", "PUSH_URL", "\"https://textsecure-service.whispersystems.org\""
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
@@ -183,9 +190,10 @@ android {
|
||||
proguardFiles = buildTypes.debug.proguardFiles
|
||||
signingConfig signingConfigs.release
|
||||
}
|
||||
testing.initWith(buildTypes.debug)
|
||||
testing {
|
||||
debugTest.initWith(buildTypes.debug)
|
||||
debugTest {
|
||||
proguardFile 'proguard-testing.pro'
|
||||
buildConfigField "String", "PUSH_URL", "\"https://textsecure-service-staging.whispersystems.org\""
|
||||
}
|
||||
}
|
||||
|
||||
@@ -200,10 +208,7 @@ android {
|
||||
assets.srcDirs = ['assets']
|
||||
}
|
||||
androidTest {
|
||||
java.srcDirs = ['androidTest/java']
|
||||
resources.srcDirs = ['androidTest/java']
|
||||
aidl.srcDirs = ['androidTest/java']
|
||||
renderscript.srcDirs = ['androidTest/java']
|
||||
java.srcDirs = ['test/androidTest/java']
|
||||
}
|
||||
}
|
||||
|
||||
@@ -242,3 +247,28 @@ if (propFile.canRead()){
|
||||
println 'signing.properties not found'
|
||||
android.buildTypes.release.signingConfig = null
|
||||
}
|
||||
|
||||
if (project.hasProperty('espresso') && System.console() != null) {
|
||||
println "______________________WARNING_______________________"
|
||||
println "ALL YOUR CONTACTS WILL BE DELETED IN THE PROCESS"
|
||||
println "OF RUNNING THESE TESTS, TYPE 'delete all my contacts'"
|
||||
println "TO CONTINUE"
|
||||
println "----------------------------------------------------"
|
||||
|
||||
def input = System.console().readLine(':')
|
||||
if (input == 'delete all my contacts') {
|
||||
android.productFlavors {
|
||||
base {}
|
||||
espresso {
|
||||
testInstrumentationRunner "org.thoughtcrime.securesms.TextSecureWakingTestRunner"
|
||||
}
|
||||
}
|
||||
android.sourceSets.espresso {
|
||||
manifest.srcFile 'test/espresso/AndroidManifest.xml'
|
||||
}
|
||||
android.sourceSets.androidTestEspresso {
|
||||
java.srcDirs = ['test/androidTestEspresso/java']
|
||||
res.srcDirs = ['test/androidTestEspresso/res']
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
-dontwarn android.test.**
|
||||
-dontwarn com.android.support.test.**
|
||||
-dontwarn sun.reflect.**
|
||||
-dontwarn sun.misc.**
|
||||
-dontwarn org.assertj.**
|
||||
-dontwarn org.hamcrest.**
|
||||
-dontwarn org.mockito.**
|
||||
|
||||
BIN
res/drawable-hdpi/ic_block_grey600_18dp.png
Normal file
|
After Width: | Height: | Size: 502 B |
BIN
res/drawable-hdpi/ic_block_white_18dp.png
Normal file
|
After Width: | Height: | Size: 484 B |
BIN
res/drawable-hdpi/ic_emoji_emoticons_activated_dark.png
Normal file
|
After Width: | Height: | Size: 599 B |
BIN
res/drawable-hdpi/ic_emoji_emoticons_normal_dark.png
Normal file
|
After Width: | Height: | Size: 499 B |
BIN
res/drawable-hdpi/ic_emoji_nature_activated_dark.png
Normal file
|
After Width: | Height: | Size: 832 B |
BIN
res/drawable-hdpi/ic_emoji_nature_normal_dark.png
Normal file
|
After Width: | Height: | Size: 641 B |
BIN
res/drawable-hdpi/ic_emoji_objects_activated_dark.png
Normal file
|
After Width: | Height: | Size: 803 B |
BIN
res/drawable-hdpi/ic_emoji_objects_normal_dark.png
Normal file
|
After Width: | Height: | Size: 631 B |
BIN
res/drawable-hdpi/ic_emoji_people_activated_dark.png
Normal file
|
After Width: | Height: | Size: 811 B |
BIN
res/drawable-hdpi/ic_emoji_people_normal_dark.png
Normal file
|
After Width: | Height: | Size: 660 B |
BIN
res/drawable-hdpi/ic_emoji_places_activated_dark.png
Normal file
|
After Width: | Height: | Size: 618 B |
BIN
res/drawable-hdpi/ic_emoji_places_normal_dark.png
Normal file
|
After Width: | Height: | Size: 499 B |
BIN
res/drawable-hdpi/ic_emoji_recents_activated_dark.png
Normal file
|
After Width: | Height: | Size: 745 B |
BIN
res/drawable-hdpi/ic_emoji_recents_normal_dark.png
Normal file
|
After Width: | Height: | Size: 589 B |
BIN
res/drawable-hdpi/ic_emoji_symbols_activated_dark.png
Normal file
|
After Width: | Height: | Size: 464 B |
BIN
res/drawable-hdpi/ic_emoji_symbols_normal_dark.png
Normal file
|
After Width: | Height: | Size: 374 B |
BIN
res/drawable-hdpi/ic_volume_off_grey600_18dp.png
Normal file
|
After Width: | Height: | Size: 470 B |
BIN
res/drawable-hdpi/ic_volume_off_white_18dp.png
Normal file
|
After Width: | Height: | Size: 461 B |
BIN
res/drawable-mdpi/ic_block_grey600_18dp.png
Normal file
|
After Width: | Height: | Size: 359 B |
BIN
res/drawable-mdpi/ic_block_white_18dp.png
Normal file
|
After Width: | Height: | Size: 355 B |
BIN
res/drawable-mdpi/ic_emoji_emoticons_activated_dark.png
Normal file
|
After Width: | Height: | Size: 386 B |
BIN
res/drawable-mdpi/ic_emoji_emoticons_normal_dark.png
Normal file
|
After Width: | Height: | Size: 350 B |
BIN
res/drawable-mdpi/ic_emoji_nature_activated_dark.png
Normal file
|
After Width: | Height: | Size: 499 B |
BIN
res/drawable-mdpi/ic_emoji_nature_normal_dark.png
Normal file
|
After Width: | Height: | Size: 403 B |
BIN
res/drawable-mdpi/ic_emoji_objects_activated_dark.png
Normal file
|
After Width: | Height: | Size: 519 B |
BIN
res/drawable-mdpi/ic_emoji_objects_normal_dark.png
Normal file
|
After Width: | Height: | Size: 426 B |
BIN
res/drawable-mdpi/ic_emoji_people_activated_dark.png
Normal file
|
After Width: | Height: | Size: 496 B |
BIN
res/drawable-mdpi/ic_emoji_people_normal_dark.png
Normal file
|
After Width: | Height: | Size: 426 B |
BIN
res/drawable-mdpi/ic_emoji_places_activated_dark.png
Normal file
|
After Width: | Height: | Size: 414 B |
BIN
res/drawable-mdpi/ic_emoji_places_normal_dark.png
Normal file
|
After Width: | Height: | Size: 327 B |
BIN
res/drawable-mdpi/ic_emoji_recents_activated_dark.png
Normal file
|
After Width: | Height: | Size: 458 B |
BIN
res/drawable-mdpi/ic_emoji_recents_normal_dark.png
Normal file
|
After Width: | Height: | Size: 388 B |
BIN
res/drawable-mdpi/ic_emoji_symbols_activated_dark.png
Normal file
|
After Width: | Height: | Size: 339 B |
BIN
res/drawable-mdpi/ic_emoji_symbols_normal_dark.png
Normal file
|
After Width: | Height: | Size: 279 B |
BIN
res/drawable-mdpi/ic_volume_off_grey600_18dp.png
Normal file
|
After Width: | Height: | Size: 347 B |
BIN
res/drawable-mdpi/ic_volume_off_white_18dp.png
Normal file
|
After Width: | Height: | Size: 342 B |
10
res/drawable-v21/conversation_list_item_background.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:color="@color/textsecure_primary">
|
||||
<item android:id="@android:id/mask" android:drawable="@android:color/black" />
|
||||
<item>
|
||||
<selector>
|
||||
<item android:drawable="@color/textsecure_primary_alpha33" android:state_selected="true" />
|
||||
</selector>
|
||||
</item>
|
||||
</ripple>
|
||||
BIN
res/drawable-xhdpi/ic_block_grey600_18dp.png
Normal file
|
After Width: | Height: | Size: 622 B |
BIN
res/drawable-xhdpi/ic_block_white_18dp.png
Normal file
|
After Width: | Height: | Size: 606 B |
BIN
res/drawable-xhdpi/ic_emoji_emoticons_activated_dark.png
Normal file
|
After Width: | Height: | Size: 808 B |
BIN
res/drawable-xhdpi/ic_emoji_emoticons_normal_dark.png
Normal file
|
After Width: | Height: | Size: 680 B |
BIN
res/drawable-xhdpi/ic_emoji_nature_activated_dark.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
res/drawable-xhdpi/ic_emoji_nature_normal_dark.png
Normal file
|
After Width: | Height: | Size: 883 B |
BIN
res/drawable-xhdpi/ic_emoji_objects_activated_dark.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
res/drawable-xhdpi/ic_emoji_objects_normal_dark.png
Normal file
|
After Width: | Height: | Size: 861 B |
BIN
res/drawable-xhdpi/ic_emoji_people_activated_dark.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
res/drawable-xhdpi/ic_emoji_people_normal_dark.png
Normal file
|
After Width: | Height: | Size: 853 B |
BIN
res/drawable-xhdpi/ic_emoji_places_activated_dark.png
Normal file
|
After Width: | Height: | Size: 654 B |
BIN
res/drawable-xhdpi/ic_emoji_places_normal_dark.png
Normal file
|
After Width: | Height: | Size: 483 B |
BIN
res/drawable-xhdpi/ic_emoji_recents_activated_dark.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
res/drawable-xhdpi/ic_emoji_recents_normal_dark.png
Normal file
|
After Width: | Height: | Size: 786 B |
BIN
res/drawable-xhdpi/ic_emoji_symbols_activated_dark.png
Normal file
|
After Width: | Height: | Size: 585 B |
BIN
res/drawable-xhdpi/ic_emoji_symbols_normal_dark.png
Normal file
|
After Width: | Height: | Size: 457 B |
BIN
res/drawable-xhdpi/ic_volume_off_grey600_18dp.png
Normal file
|
After Width: | Height: | Size: 543 B |
BIN
res/drawable-xhdpi/ic_volume_off_white_18dp.png
Normal file
|
After Width: | Height: | Size: 532 B |
BIN
res/drawable-xxhdpi/ic_block_grey600_18dp.png
Normal file
|
After Width: | Height: | Size: 855 B |
BIN
res/drawable-xxhdpi/ic_block_white_18dp.png
Normal file
|
After Width: | Height: | Size: 848 B |
BIN
res/drawable-xxhdpi/ic_emoji_emoticons_activated_dark.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
res/drawable-xxhdpi/ic_emoji_emoticons_normal_dark.png
Normal file
|
After Width: | Height: | Size: 990 B |
BIN
res/drawable-xxhdpi/ic_emoji_nature_activated_dark.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
res/drawable-xxhdpi/ic_emoji_nature_normal_dark.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
res/drawable-xxhdpi/ic_emoji_objects_activated_dark.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
res/drawable-xxhdpi/ic_emoji_objects_normal_dark.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
res/drawable-xxhdpi/ic_emoji_people_activated_dark.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
res/drawable-xxhdpi/ic_emoji_people_normal_dark.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
res/drawable-xxhdpi/ic_emoji_places_activated_dark.png
Normal file
|
After Width: | Height: | Size: 892 B |
BIN
res/drawable-xxhdpi/ic_emoji_places_normal_dark.png
Normal file
|
After Width: | Height: | Size: 729 B |
BIN
res/drawable-xxhdpi/ic_emoji_recents_activated_dark.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
res/drawable-xxhdpi/ic_emoji_recents_normal_dark.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
res/drawable-xxhdpi/ic_emoji_symbols_activated_dark.png
Normal file
|
After Width: | Height: | Size: 864 B |
BIN
res/drawable-xxhdpi/ic_emoji_symbols_normal_dark.png
Normal file
|
After Width: | Height: | Size: 675 B |
BIN
res/drawable-xxhdpi/ic_volume_off_grey600_18dp.png
Normal file
|
After Width: | Height: | Size: 754 B |
BIN
res/drawable-xxhdpi/ic_volume_off_white_18dp.png
Normal file
|
After Width: | Height: | Size: 745 B |
BIN
res/drawable-xxxhdpi/ic_block_grey600_18dp.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
res/drawable-xxxhdpi/ic_block_white_18dp.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
res/drawable-xxxhdpi/ic_volume_off_grey600_18dp.png
Normal file
|
After Width: | Height: | Size: 921 B |
BIN
res/drawable-xxxhdpi/ic_volume_off_white_18dp.png
Normal file
|
After Width: | Height: | Size: 911 B |
4
res/drawable/conversation_list_item_background.xml
Normal file
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:drawable="@color/textsecure_primary_alpha33" android:state_selected="true" />
|
||||
</selector>
|
||||
@@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_selected="true"
|
||||
android:drawable="@android:color/transparent" />
|
||||
<item android:state_pressed="true" android:state_selected="false"
|
||||
android:drawable="@android:color/transparent" />
|
||||
<item android:state_selected="false" android:state_activated="false"
|
||||
android:drawable="@color/conversation_list_item_background_read_dark" />
|
||||
<item android:state_activated="true"
|
||||
android:drawable="@drawable/list_selector_background_selected" />
|
||||
</selector>
|
||||
@@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_selected="true"
|
||||
android:drawable="@android:color/transparent" />
|
||||
<item android:state_pressed="true" android:state_selected="false"
|
||||
android:drawable="@android:color/transparent" />
|
||||
<item android:state_selected="false" android:state_activated="false"
|
||||
android:drawable="@color/conversation_list_item_background_read_light" />
|
||||
<item android:state_activated="true"
|
||||
android:drawable="@drawable/list_selector_background_selected" />
|
||||
</selector>
|
||||
@@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_selected="true"
|
||||
android:drawable="@android:color/transparent" />
|
||||
<item android:state_pressed="true" android:state_selected="false"
|
||||
android:drawable="@android:color/transparent" />
|
||||
<item android:state_selected="false" android:state_activated="false"
|
||||
android:drawable="@color/conversation_list_item_background_unread_dark" />
|
||||
<item android:state_activated="true"
|
||||
android:drawable="@drawable/list_selector_background_selected" />
|
||||
</selector>
|
||||
@@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_selected="true"
|
||||
android:drawable="@android:color/transparent" />
|
||||
<item android:state_pressed="true" android:state_selected="false"
|
||||
android:drawable="@android:color/transparent" />
|
||||
<item android:state_selected="false" android:state_activated="false"
|
||||
android:drawable="@color/conversation_list_item_background_unread_light" />
|
||||
<item android:state_activated="true"
|
||||
android:drawable="@drawable/list_selector_background_selected" />
|
||||
</selector>
|
||||
8
res/drawable/emoji_category_emoticons_dark.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:enterFadeDuration="200"
|
||||
android:exitFadeDuration="300">
|
||||
<item android:state_selected="true" android:drawable="@drawable/ic_emoji_emoticons_activated_dark" />
|
||||
<item android:drawable="@drawable/ic_emoji_emoticons_normal_dark" />
|
||||
</selector>
|
||||
|
||||
8
res/drawable/emoji_category_emoticons_light.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:enterFadeDuration="200"
|
||||
android:exitFadeDuration="300">
|
||||
<item android:state_selected="true" android:drawable="@drawable/ic_emoji_emoticons_activated_light" />
|
||||
<item android:drawable="@drawable/ic_emoji_emoticons_normal_light" />
|
||||
</selector>
|
||||
|
||||
7
res/drawable/emoji_category_nature_dark.xml
Normal file
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:enterFadeDuration="200"
|
||||
android:exitFadeDuration="300">
|
||||
<item android:state_selected="true" android:drawable="@drawable/ic_emoji_nature_activated_dark" />
|
||||
<item android:drawable="@drawable/ic_emoji_nature_normal_dark" />
|
||||
</selector>
|
||||