This file contains hidden or 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
ss\nA /tmp/rd_sources/rd_login/cc/m/css/grey/fonts/PTS-webfont.eot\nA /tmp/rd_sources/rd_login/cc/m/css/grey/fonts/fontawesome-webfont.eot\nA /tmp/rd_sources/rd_login/mt/d/css\nA /tmp/rd_sources/rd_login/mt/d/css/black\nA /tmp/rd_sources/rd_login/cc/m/css/black/webix.css\nA /tmp/rd_sources/rd_login/cc/m/css/green/fonts/PTS-bold.woff\nA /tmp/rd_sources/rd_login/cc/m/css/green/fonts/font-license.txt\nA /tmp/rd_sources/rd_login/cc/m/css/green/fonts/fontawesome-webfont.woff\nA /tmp/rd_sources/rd_login/cc/m/css/black/fonts/fontawesome-webfont.svg\nA /tmp/rd_sources/rd_login/cc/m/css/green/styles.css\nA /tmp/rd_sources/rd_login/mt/d/css/black/fonts\nA /tmp/rd_sources/rd_login/cc/m/css/green/fonts/PTS-webfont.eot\nA /tmp/rd_sources/rd_login/cc/m/css/green/fonts/fontawesome-webfont.eot\nA /tmp/rd_sources/rd_login/cc/m/css/grey/webix.css\nA /tmp/rd_sources/rd_login/mt/d/index.html\nA /tmp/rd_sources/rd_login/cc/m/css/grey/fonts/PTS-bold.ttf\nA /tmp/rd_sources/rd_login |
This file contains hidden or 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
When using ViewPager to create onboarding, and you want an animation, | |
use a gif instead of a VideoView to prevent black clipping on the sides. | |
Gif library | |
https://github.com/koral--/android-gif-drawable |
This file contains hidden or 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
VideoView myVideo = (VideoView) rootView.findViewById(R.id.definition_video_view); | |
//Set video name (no extension) | |
String myVideoName = "my_video"; | |
//Set app package | |
String myAppPackage = "com.myapp"; | |
//Get video URI from raw directory | |
Uri myVideoUri = Uri.parse("android.resource://"+myAppPackage+"/raw/"+myVideoName); |
This file contains hidden or 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 lets you space out your radio buttons to have a constant space between them while keeping the aspect ratio of an image | |
<RadioGroup | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:orientation="horizontal"> | |
<RadioButton | |
style="@style/radio_button_transport" | |
android:background="@drawable/transport_mode_button_foot"/> |
This file contains hidden or 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
package com.crejaud.jrejaud.androidwearmessenger; | |
import android.app.Activity; | |
import android.content.Context; | |
import android.os.AsyncTask; | |
import android.os.Bundle; | |
import android.util.Log; | |
import android.widget.Toast; | |
import com.google.android.gms.common.ConnectionResult; |
NewerOlder