Loading QKSMS/src/main/java/com/moez/QKSMS/ui/compose/ComposeFragment.java +0 −1 Original line number Diff line number Diff line Loading @@ -39,7 +39,6 @@ public class ComposeFragment extends QKFragment implements ActivityLauncher, Rec mRecipients = (AutoCompleteContactView) view.findViewById(R.id.compose_recipients); mRecipients.setOnItemClickListener(this); view.findViewById(R.id.compose_view_stub).setVisibility(View.VISIBLE); mComposeView = (ComposeView) view.findViewById(R.id.compose_view); mComposeView.onOpenConversation(null, null); mComposeView.setActivityLauncher(this); Loading QKSMS/src/main/java/com/moez/QKSMS/ui/view/AutoCompleteContactView.java +6 −2 Original line number Diff line number Diff line Loading @@ -22,13 +22,17 @@ public class AutoCompleteContactView extends RecipientEditTextView { public AutoCompleteContactView(Context context) { this(context, null); if (!isInEditMode()) { init(context); } } public AutoCompleteContactView(Context context, AttributeSet attrs) { super(context, attrs); if (!isInEditMode()) { init(context); } } private void init(Context context) { mContext = (QKActivity) context; Loading QKSMS/src/main/java/com/moez/QKSMS/ui/view/StarredContactsView.java +6 −2 Original line number Diff line number Diff line Loading @@ -40,13 +40,17 @@ public class StarredContactsView extends LinearLayout implements LoaderManager.L public StarredContactsView(Context context) { super(context); if (!isInEditMode()) { init(context); } } public StarredContactsView(Context context, AttributeSet attrs) { super(context, attrs); if (!isInEditMode()) { init(context); } } private void init(Context context) { mContext = (QKActivity) context; Loading QKSMS/src/main/res/layout/fragment_compose.xml +23 −21 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <ScrollView android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="1"> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:focusable="true" android:focusableInTouchMode="true" android:orientation="vertical"> Loading @@ -17,17 +26,10 @@ <include layout="@layout/view_starred_contacts" /> <View android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="1" /> </LinearLayout> <ViewStub android:id="@+id/compose_view_stub" android:layout_width="match_parent" android:layout_height="wrap_content" android:clipToPadding="false" android:inflatedId="@+id/compose_view" android:layout="@layout/view_compose" /> </ScrollView> <include layout="@layout/view_compose" /> </LinearLayout> No newline at end of file Loading
QKSMS/src/main/java/com/moez/QKSMS/ui/compose/ComposeFragment.java +0 −1 Original line number Diff line number Diff line Loading @@ -39,7 +39,6 @@ public class ComposeFragment extends QKFragment implements ActivityLauncher, Rec mRecipients = (AutoCompleteContactView) view.findViewById(R.id.compose_recipients); mRecipients.setOnItemClickListener(this); view.findViewById(R.id.compose_view_stub).setVisibility(View.VISIBLE); mComposeView = (ComposeView) view.findViewById(R.id.compose_view); mComposeView.onOpenConversation(null, null); mComposeView.setActivityLauncher(this); Loading
QKSMS/src/main/java/com/moez/QKSMS/ui/view/AutoCompleteContactView.java +6 −2 Original line number Diff line number Diff line Loading @@ -22,13 +22,17 @@ public class AutoCompleteContactView extends RecipientEditTextView { public AutoCompleteContactView(Context context) { this(context, null); if (!isInEditMode()) { init(context); } } public AutoCompleteContactView(Context context, AttributeSet attrs) { super(context, attrs); if (!isInEditMode()) { init(context); } } private void init(Context context) { mContext = (QKActivity) context; Loading
QKSMS/src/main/java/com/moez/QKSMS/ui/view/StarredContactsView.java +6 −2 Original line number Diff line number Diff line Loading @@ -40,13 +40,17 @@ public class StarredContactsView extends LinearLayout implements LoaderManager.L public StarredContactsView(Context context) { super(context); if (!isInEditMode()) { init(context); } } public StarredContactsView(Context context, AttributeSet attrs) { super(context, attrs); if (!isInEditMode()) { init(context); } } private void init(Context context) { mContext = (QKActivity) context; Loading
QKSMS/src/main/res/layout/fragment_compose.xml +23 −21 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <ScrollView android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="1"> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:focusable="true" android:focusableInTouchMode="true" android:orientation="vertical"> Loading @@ -17,17 +26,10 @@ <include layout="@layout/view_starred_contacts" /> <View android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="1" /> </LinearLayout> <ViewStub android:id="@+id/compose_view_stub" android:layout_width="match_parent" android:layout_height="wrap_content" android:clipToPadding="false" android:inflatedId="@+id/compose_view" android:layout="@layout/view_compose" /> </ScrollView> <include layout="@layout/view_compose" /> </LinearLayout> No newline at end of file