-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
170 additions
and
84 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package com.myapp.textcounter; | ||
/* | ||
import android.text.Editable; | ||
import android.widget.EditText; | ||
import android.widget.TextView; | ||
import androidx.appcompat.app.AppCompatActivity; | ||
public class Delete extends AppCompatActivity { | ||
private EditText editText; | ||
private TextView textView; | ||
public void creater (){ | ||
//テキスト入力 | ||
editText = findViewById(R.id.edit_text); | ||
//テキスト表示 | ||
textView = findViewById(R.id.text_view); | ||
editText.getText().clear(); | ||
textView.setText(editText.getText().length() + "文字"); | ||
//textView.setText(); | ||
//textView.getText(); | ||
} | ||
}*/ |
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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources><!--カラーパレット (ダークテーマで必要な色だけ定義)--> | ||
<!-- ボタンの色--> | ||
<color name="purple">#50A1E1</color> | ||
<!-- 背景(background)の色--> | ||
<color name="teal">#313535</color> | ||
<!-- edittext@backgroundとTextView@backgroundの色 --> | ||
<color name="white">#FFFFFFFF</color> | ||
|
||
|
||
</resources> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,21 @@ | ||
<resources xmlns:tools="http://schemas.android.com/tools"> | ||
<!-- ダークテーマ用 カラーパレット宣言(Base application theme. ) --> | ||
<!-- ダークテーマ用 テーマで使用するカラーの指定 --> | ||
<style name="Theme.MyApplication" parent="Theme.MaterialComponents.Light.DarkActionBar"> | ||
<!-- Primary brand color. --><!-- Secondary brand color. --> | ||
<!-- ボタンの色--> | ||
<item name="colorPrimary">@color/purple</item> | ||
<item name="colorOnPrimary">@color/white</item> | ||
<item name="colorSecondary">@color/teal</item> | ||
<item name="colorOnSecondary">@color/black</item> | ||
<!-- ステータスバーカラー(Status bar color.) --> | ||
<!-- TextViewとeditTextの色 --> | ||
<item name="android:textColor">@color/white</item> | ||
|
||
<!-- 背景(background)の色--> | ||
<item name="android:colorPrimary">@color/teal</item> | ||
<item name="colorSecondary">@color/blue</item> | ||
<!-- <item name="android:background">@color/teal</item> --> | ||
|
||
<!-- ステータスバーカラー--> | ||
<item name="android:statusBarColor" tools:targetApi="l">@color/teal</item> | ||
<!-- 履歴タブのアプリ名 --> | ||
<item name="windowActionBar">false</item> | ||
<!-- Activityの上のアプリ名タブ --> | ||
<!-- Activityの上のアプリ名タブ --> | ||
<item name="windowNoTitle">true</item> | ||
</style> | ||
</resources> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,16 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<resources><!--カラーパレット --> | ||
<!-- ボタンの色--> | ||
<color name="purple">#FF6200EE</color> | ||
<!-- 背景(background)の色--> | ||
<color name="teal">#99EAF4</color> | ||
<color name="black">#FF000000</color> | ||
<!-- edittext@backgroundの色 --> | ||
<color name="white">#FFFFFFFF</color> | ||
<!-- TextViewとeditText@textcolorの色 --> | ||
<color name="great">#585C5C</color> | ||
<!--テキスト選択時の色 --> | ||
<color name="blue">#0163AF</color> | ||
|
||
|
||
<color name="black">#000000</color> | ||
</resources> |
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
Oops, something went wrong.