ハンバーガーメニューを作りたかっただけなのに………….. Dependencie に追加(なぜかエラーからは直接入れ込んでくれない) バージョンは新しいのを教えてくれるはず。 dependencies { […]
カテゴリー: XML
参考サイト様 変数、関数軍群 https://developer.android.com/reference/com/google/android/material/card/MaterialCardView 見た目+変 […]
公式リンク https://developer.android.com/guide/topics/resources/color-list-resource?hl=ja 上のリンクは state_pressed とかの変 […]
今回は recyclerView を使ったときの item 全体にボタンイベントを設置したい。 inflate するための view <?xml version=”1.0″ encoding=”utf-8″?> […]
参考サイト様 https://material.io/components/menus/android#exposed-dropdown-menus なんか選択肢だすやつ使ったことなかったし必要だったので使 […]
めちゃくちゃ参考にさせていただいたサイト https://developer.android.com/reference/com/google/android/material/timepicker/MaterialTi […]
めちゃくちゃ参考にさせてもらったサイト https://github.com/material-components/material-components-android/blob/master/lib/java/co […]
簡単な Activity 内での使い方メモ 文字列を格納するファイルのパス res/values/strings.xml 文字列宣言 <string name=”someText”>SomeText</ […]
とりあえず二パターン 1.xml と Kotlin を使う方法 xml <EditText android:id=”@+id/editText” android:layout_width=”wrap_content […]
xml を直接触る。 android.support.constraint.ConstraintLayout から RelativeLayout に変更とか。 ちゃんと閉じタグも変更する。 変えたいLayoutの名前がわ […]