- https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts (default)
- https://mirror1.malwaredomains.com/files/justdomains (default)
- http://sysctl.org/cameleon/hosts (default)
- https://zeustracker.abuse.ch/blocklist.php?download=domainblocklist (default)
- https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt (default)
- https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt (default)
- https://hosts-file.net/ad_servers.txt (default)
- https://raw.githubusercontent.com/FadeMind/hosts.extras/master/StreamingAds/hosts
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
/** | |
* This method is called when the plus button is clicked. | |
*/ | |
public void increment(View view) { | |
if (quantity == 100) { | |
// Show an error message as a toast | |
Toast.makeText(this, "You cannot have more than 100 coffees", Toast.LENGTH_SHORT).show(); | |
// Exit this method early because there's nothing left to do | |
return; | |
} |
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
<RelativeLayout | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:padding="16dp"> | |
<TextView | |
android:text="I’m in this corner" | |
android:layout_height="wrap_content" | |
android:layout_width="wrap_content" |
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
<LinearLayout | |
android:orientation="vertical" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content"> | |
<TextView | |
android:text="Guest List" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" /> | |