This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ImageView | |
android:id="@+id/imageView" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:clickable="true" | |
android:clipChildren="false" | |
android:clipToPadding="false" | |
android:focusable="true" | |
android:foreground="?attr/selectableItemBackgroundBorderless" | |
android:src="@drawable/ic_dislike_36dp" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style name="TextLimitStyle" parent="TextAppearance.AppCompat.Small"> | |
<item name="android:textColor">@color/colorAccent< /item> | |
<item name="android:textStyle">bold</item> | |
<item name="android:textSize">18sp</item> | |
</style> | |
<style name="TextLimitError" parent="TextAppearance.AppCompat.Small"> | |
<item name="android:textColor">@color/colorRed</item> | |
</style> |
RecyclerView:
- Show Scrollbar on RecyclerView https://stackoverflow.com/questions/3103132/android-listview-scrollbarstyle
- Show DividerItemDecoration between items in RecyclerView
RxViews:
- CacheSwitch Button
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
new Dialog(getActivity(), R.style.DialogStyle); | |
<style name="DialogStyle" parent="Base.Theme.AppCompat.Dialog"> | |
<item name="android:windowNoTitle">true</item> | |
<item name="android:windowBackground">@android:color/transparent</item> | |
</style> | |
val window = dialog?.window | |
window?.setBackgroundDrawable(ColorDrawable(Color.TRANSPARENT)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MyClass { | |
fun test() { | |
val str: String = "..." | |
val result = str.xxx { | |
print(this) // Receiver | |
print(it) // Argument | |
42 // Block return value | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
project.afterEvaluate { | |
crashlyticsUploadDistributionDevelopDebug.doFirst { | |
ext.betaDistributionGroupAliases = "develop" | |
ext.betaDistributionNotifications = true | |
ext.betaDistributionReleaseNotesFilePath = "${project.rootDir}/app/build/outputs/apk/releaseNotes.txt" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get -y update | |
sudo apt install gnome-clocks | |
#------------------------PuTTY-------------- | |
#-----https://numato.com/help/blog/how-to-install-putty-on-linux/ | |
#-----https://www.ssh.com/ssh/putty/linux/puttygen | |
#------------------------------------------- | |
sudo apt-get -y update | |
sudo apt-get -y install -y putty | |
putty |