-
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.
Merge remote-tracking branch 'origin/master'
- Loading branch information
Showing
20 changed files
with
973 additions
and
387 deletions.
There are no files selected for viewing
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
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
150 changes: 150 additions & 0 deletions
150
app/src/main/res/layout-land/activity_register_form.xml
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,150 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="fill_parent" android:layout_height="fill_parent" | ||
android:fillViewport="false" | ||
android:id="@+id/ScrollView"> | ||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" | ||
android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin" | ||
android:paddingRight="@dimen/activity_horizontal_margin" | ||
android:paddingTop="@dimen/activity_vertical_margin" | ||
android:paddingBottom="@dimen/activity_vertical_margin" | ||
tools:context="com.example.raffaele.testapp.Register_form" | ||
android:id="@+id/SecondoTesto" | ||
android:background="#ffffffff"> | ||
|
||
<LinearLayout | ||
android:orientation="vertical" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" | ||
android:layout_alignParentRight="true" | ||
android:layout_alignParentEnd="true"> | ||
|
||
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:textAppearance="?android:attr/textAppearanceLarge" | ||
android:text="Insert your personal information" | ||
android:id="@+id/textView" | ||
android:layout_alignParentTop="true" | ||
android:layout_centerHorizontal="true" /> | ||
|
||
<TextView | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:textAppearance="?android:attr/textAppearanceMedium" | ||
android:text="Asterisked (*) fields are mandatory" | ||
android:id="@+id/textView2" | ||
android:layout_below="@+id/textView" | ||
android:layout_alignLeft="@+id/textView" | ||
android:layout_alignStart="@+id/textView" | ||
android:layout_marginLeft="15dp" /> | ||
|
||
<EditText | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:inputType="textPersonName" | ||
android:ems="10" | ||
android:id="@+id/Reg_name" | ||
android:layout_below="@+id/textView" | ||
android:layout_alignParentLeft="true" | ||
android:layout_alignParentStart="true" | ||
android:layout_marginTop="69dp" | ||
android:hint="Name*" | ||
android:layout_marginRight="70dp" /> | ||
|
||
<EditText | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:inputType="textPersonName" | ||
android:ems="10" | ||
android:id="@+id/Reg_surname" | ||
android:layout_below="@+id/Reg_name" | ||
android:layout_alignParentLeft="true" | ||
android:layout_alignParentStart="true" | ||
android:hint="Surname*" | ||
android:layout_marginRight="70dp" /> | ||
|
||
<EditText | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:inputType="textPersonName" | ||
android:ems="10" | ||
android:id="@+id/Reg_school" | ||
android:hint="School*" | ||
android:layout_below="@+id/Reg_surname" | ||
android:layout_alignParentLeft="true" | ||
android:layout_alignParentStart="true" | ||
android:layout_marginRight="70dp" /> | ||
|
||
<EditText | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:inputType="textPassword" | ||
android:ems="10" | ||
android:id="@+id/Reg_pass" | ||
android:hint="Password*" | ||
android:layout_below="@+id/Reg_username" | ||
android:layout_alignParentLeft="true" | ||
android:layout_alignParentStart="true" | ||
android:layout_marginRight="70dp" /> | ||
|
||
<EditText | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:inputType="textPersonName" | ||
android:ems="10" | ||
android:id="@+id/Reg_address" | ||
android:hint="Address" | ||
android:layout_below="@+id/Reg_school" | ||
android:layout_alignParentLeft="true" | ||
android:layout_alignParentStart="true" | ||
android:layout_marginRight="70dp" /> | ||
|
||
<EditText | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:inputType="textEmailAddress" | ||
android:ems="10" | ||
android:id="@+id/Reg_email" | ||
android:hint="E-mail*" | ||
android:layout_below="@+id/Reg_address" | ||
android:layout_alignParentLeft="true" | ||
android:layout_alignParentStart="true" | ||
android:layout_marginRight="70dp" /> | ||
|
||
<EditText | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:inputType="textPersonName" | ||
android:ems="10" | ||
android:id="@+id/Reg_username" | ||
android:hint="Username*" | ||
android:layout_below="@+id/Reg_email" | ||
android:layout_alignParentLeft="true" | ||
android:layout_alignParentStart="true" | ||
android:layout_marginRight="70dp" /> | ||
|
||
|
||
</LinearLayout> | ||
|
||
<LinearLayout | ||
android:orientation="vertical" | ||
android:layout_width="fill_parent" | ||
android:layout_height="280dp" | ||
android:layout_alignParentTop="true" | ||
android:layout_alignParentRight="true" | ||
android:layout_alignParentEnd="true" | ||
android:layout_marginTop="465dp"> | ||
|
||
<ImageButton | ||
android:layout_width="330dp" | ||
android:layout_height="120dp" | ||
android:id="@+id/Reg_button" | ||
android:background="@drawable/sub" | ||
android:layout_gravity="center_horizontal" | ||
android:onClick="Registrazione"/> | ||
</LinearLayout> | ||
|
||
</RelativeLayout> | ||
</ScrollView> |
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,17 @@ | ||
<?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="horizontal" > | ||
<CheckBox | ||
android:id="@+id/checkBox1" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="" | ||
android:textSize="30sp" /> | ||
<TextView | ||
android:id="@+id/textView1" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="TextView" /> | ||
</LinearLayout> |
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 @@ | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" | ||
android:orientation="vertical" > | ||
<ListView | ||
android:id="@+id/listView1" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" > | ||
</ListView> | ||
|
||
<LinearLayout | ||
android:orientation="vertical" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_gravity="right"></LinearLayout> | ||
|
||
<Button | ||
style="?android:attr/buttonStyleSmall" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="Confirm" | ||
android:id="@+id/Confirm" | ||
android:layout_gravity="right" | ||
android:onClick="toWelcome" /> | ||
</LinearLayout> |
Oops, something went wrong.