2018年4月22日日曜日
2018年4月8日日曜日
2018年1月19日金曜日
ツールバーにlayoutが被るときの対処
ツールバーにlayoutが被るときの対処
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
2018年1月14日日曜日
キーボード表示時にViewが伸縮しない方法
キーボード表示時にViewが伸縮しない方法
<activity android:name=".MainActivity
android:label="@string/app_name"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustPan|adjustResize"
2018年1月13日土曜日
[CheckBox]ラベルスペースの消し方
[CheckBox]ラベルスペースの消し方
<CheckBox android:id="@+id/checkBox" android:text="@null" android:translationX="12dp"
2018年1月7日日曜日
2018年1月4日木曜日
strings.xmlの文字列をActivityで使う方法
Activity側でgetString(R.string.xxx)を使う
String hoge = getString(R.string.xxx);
縦画面へ固定する
マニフェストファイルのactivityに縦向き指定を追加する
<activity
android:name=".MainActivity"
android:label="@string/app_name"
android:screenOrientation="portrait"
Applicationクラスのカスタマイズ
Applicationクラスを継承したカスタマイズ用クラスを作成
public class MyApplication extends Application {
@Override
public void onCreate() {
super.onCreate();
}
}
マニフェストファイルにクラスを追加
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:name=".MyApplication"
android:label="@string/app_name"
登録:
投稿 (Atom)
G-Tracker
G-Tracker is an application that performs tracking of the current location using GPS built in Android. You can also get navigation an...
-
Our Applications need permissions below. We will never make use of your information other than for the following purposes. ▼ Camera ...
-
G-Tracker is an application that performs tracking of the current location using GPS built in Android. You can also get navigation an...



