• R/O
  • HTTP
  • SSH
  • HTTPS

コミット

タグ
未設定

よく使われているワード(クリックで追加)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Android Samples


コミットメタ情報

リビジョン92af71bf0d1de6b9fc8087a4185e35cd9479e25c (tree)
日時2014-06-13 04:58:08
作者Masahiko, SAWAI <say@user...>
コミッターMasahiko, SAWAI

ログメッセージ

Chenged the package name of listview-single-choice-checkable-layout

変更サマリ

差分

--- a/listview-single-choice-checkable-layout/AndroidManifest.xml
+++ b/listview-single-choice-checkable-layout/AndroidManifest.xml
@@ -1,7 +1,7 @@
11 <?xml version="1.0" encoding="utf-8"?>
22 <manifest
33 xmlns:android="http://schemas.android.com/apk/res/android"
4- package="com.example.hello.android.checkable_layout_hello"
4+ package="com.example.hello.android.listview_single_choice_checkable_layout"
55 android:versionCode="1"
66 android:versionName="1.0"
77 >
--- a/listview-single-choice-checkable-layout/res/layout/user_list_item.xml
+++ b/listview-single-choice-checkable-layout/res/layout/user_list_item.xml
@@ -1,6 +1,6 @@
11 <?xml version="1.0" encoding="utf-8"?>
22 <view
3- class="com.example.hello.android.checkable_layout_hello.CheckableLinearLayout"
3+ class="com.example.hello.android.listview_single_choice_checkable_layout.CheckableLinearLayout"
44 xmlns:android="http://schemas.android.com/apk/res/android"
55 android:layout_width="fill_parent"
66 android:layout_height="wrap_content"
--- a/listview-single-choice-checkable-layout/src/com/example/hello/android/checkable_layout_hello/CheckableLinearLayout.java
+++ b/listview-single-choice-checkable-layout/src/com/example/hello/android/listview_single_choice_checkable_layout/CheckableLinearLayout.java
@@ -21,7 +21,7 @@
2121 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2222 * THE SOFTWARE.
2323 */
24-package com.example.hello.android.checkable_layout_hello;
24+package com.example.hello.android.listview_single_choice_checkable_layout;
2525
2626 import android.content.Context;
2727 import android.util.AttributeSet;
--- a/listview-single-choice-checkable-layout/src/com/example/hello/android/checkable_layout_hello/MainActivity.java
+++ b/listview-single-choice-checkable-layout/src/com/example/hello/android/listview_single_choice_checkable_layout/MainActivity.java
@@ -21,7 +21,7 @@
2121 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2222 * THE SOFTWARE.
2323 */
24-package com.example.hello.android.checkable_layout_hello;
24+package com.example.hello.android.listview_single_choice_checkable_layout;
2525
2626 import android.app.ListActivity;
2727 import android.os.Bundle;
@@ -105,8 +105,10 @@ public class MainActivity extends ListActivity
105105 {
106106 Map<String, String> userData = userList.get(checkedItemPosition);
107107 String name = userData.get(MAPPING_KEY_NAME);
108- Log.d(LOG_TAG, "checked user name => " + name);
109- Toast.makeText(this, "checked user name => " + name, Toast.LENGTH_SHORT).show();
108+ String email = userData.get(MAPPING_KEY_EMAIL);
109+ String message = String.format("Checked User : name => %s, email => %s", name, email);
110+ Log.d(LOG_TAG, message);
111+ Toast.makeText(this, message, Toast.LENGTH_SHORT).show();
110112 }
111113 }
112114 }