public class NotuleMenuFragment extends Fragment {
+ public static String FRAGMENT_TAG = "NotuleMenuFragment";
+
private static String DEFAULT_ZIP_CODE = "34000";
// private static final String NOTULE_URL = "https://amies.adullact.org/nodejs/1.0.0/notules/client/%s/%s";
private static final String NOTULE_URL_PC = "https://amies.adullact.org/nodejs/1.0.0/notules/postalCode/%s";
android:layout_height="wrap_content">
<android.support.v7.widget.CardView
- android:layout_width="360dp"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginBottom="8dp"
android:clickable="true">
<LinearLayout
- android:layout_width="match_parent"
+ android:layout_width="480dp"
android:layout_height="wrap_content"
+ android:layout_gravity="center_horizontal"
android:orientation="vertical">
<android.support.v7.widget.CardView
- android:layout_width="360dp"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginBottom="8dp"
android:layout_height="match_parent"
tools:context="org.adullact.amies.MainActivity">
- <fragment
+ <FrameLayout
android:id="@+id/main_activity_main_fragment"
- android:name="org.adullact.amies.NotuleMenuFragment"
android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:tag="NotuleMenuFragment" />
+ android:layout_height="match_parent" />
+
+ <!--<fragment-->
+ <!--android:id="@+id/main_activity_main_fragment"-->
+ <!--android:name="org.adullact.amies.NotuleMenuFragment"-->
+ <!--android:layout_width="match_parent"-->
+ <!--android:layout_height="match_parent"-->
+ <!--android:tag="NotuleMenuFragment" />-->
</RelativeLayout>
android:layout_height="match_parent">
<LinearLayout
- android:layout_width="match_parent"
+ android:layout_width="480dp"
android:layout_height="match_parent"
+ android:layout_gravity="center_horizontal"
android:focusable="true"
android:focusableInTouchMode="true"
android:orientation="vertical"
<resources>
- <string name="app_name">AMIES</string>
+ <string name="app_name">AMIes</string>
<string name="About">À propos</string>
<!-- NotuleMenuFragment -->