Skip to content

Commit

Permalink
logos added and text changed
Browse files Browse the repository at this point in the history
  • Loading branch information
eceatata committed Feb 7, 2021
1 parent 7fffed6 commit 9becd43
Show file tree
Hide file tree
Showing 12 changed files with 102 additions and 80 deletions.
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.
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.
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.
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.
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.
117 changes: 70 additions & 47 deletions DeviceTracking/app/src/main/res/layout/activity_login.xml
Original file line number Diff line number Diff line change
@@ -1,67 +1,90 @@
<?xml version="1.0" encoding="utf-8"?>

<LinearLayout
<ScrollView
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:layout_margin="@dimen/margin_material"
android:orientation="vertical"
android:gravity="center"
tools:context=".LoginActivity" >
android:scrollbars="none">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:gravity="center_horizontal">
android:layout_height="match_parent"
android:layout_margin="@dimen/margin_material"
android:orientation="vertical"
android:gravity="center"
tools:context=".LoginActivity" >

<ImageView
android:id="@+id/iv_alps_logo"
android:layout_width="@dimen/app_logo_size"
android:layout_height="@dimen/app_logo_size"
android:padding="@dimen/margin_material"
android:src="@drawable/ic_alps_logo"
android:contentDescription="@string/content_description_app_logo" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:gravity="center_horizontal">

<ImageView
android:id="@+id/iv_iipm_logo"
android:layout_width="@dimen/app_logo_size"
android:layout_height="@dimen/app_logo_size"
android:padding="@dimen/margin_material"
android:src="@drawable/ic_iipm_logo"
android:contentDescription="@string/content_description_ifm_logo" />
<ImageView
android:id="@+id/iv_alps_logo"
android:layout_width="@dimen/app_logo_size"
android:layout_height="@dimen/app_logo_size"
android:padding="@dimen/margin_material"
android:src="@drawable/ic_alps_logo"
android:contentDescription="@string/content_description_app_logo" />

</LinearLayout>
<ImageView
android:id="@+id/iv_iipm_logo"
android:layout_width="@dimen/app_logo_size"
android:layout_height="@dimen/app_logo_size"
android:padding="@dimen/margin_material"
android:src="@drawable/ic_iipm_logo"
android:contentDescription="@string/content_description_ifm_logo" />

<TextView
android:id="@+id/tv_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="@dimen/large_header_text_size"
android:layout_margin="@dimen/margin_small"
android:gravity="center"
android:textStyle="bold"/>
</LinearLayout>

<TextView
android:id="@+id/tv_disclaimer_text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/margin_small"
android:textSize="@dimen/large_body_text_size" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:gravity="center_horizontal">

<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView
android:id="@+id/iv_camp_logo"
android:layout_width="@dimen/app_logo_size"
android:layout_height="@dimen/app_logo_size"
android:padding="@dimen/margin_material"
android:src="@drawable/ic_camp_logo"
android:contentDescription="@string/content_description_app_logo" />

<ImageView
android:id="@+id/iv_pitch_logo"
android:layout_width="@dimen/app_logo_size"
android:layout_height="@dimen/app_logo_size"
android:padding="@dimen/margin_material"
android:src="@drawable/ic_pitch_logo"
android:contentDescription="@string/content_description_ifm_logo" />

</LinearLayout>

<TextView
android:id="@+id/tv_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="@dimen/large_header_text_size"
android:layout_margin="@dimen/margin_small"
android:gravity="center"
android:textStyle="bold"/>

<TextView
android:id="@+id/tv_disclaimer_text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/margin_small"
android:textSize="@dimen/large_body_text_size"
android:autoLink="web"
android:singleLine="false"/>

<Button
android:id="@+id/btn_next"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:layout_marginBottom="@dimen/margin_material"
android:text="@string/sensor_selection_next" />

</RelativeLayout>

</LinearLayout>
</LinearLayout>
</ScrollView>
65 changes: 32 additions & 33 deletions DeviceTracking/app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,34 @@
<string name="app_name">Device Tracking</string>

<string name="login_title">WELCOME</string>
<string name="login_disclaimer">This is an application developed for a research project
conducted by ALPS. Using this application, you will be recording your device usage and
share the data with us anonymously. This is a valuable contribution for us and we
thank you very much for your participation. \n\nTo start the application, please hit the
\'Next\' button. </string>
<string name="login_disclaimer">This is an application developed for a research project conducted
by the Engineering Department, University of Cambridge, sponsored by Research England’s
Connecting Capability Fund award CCF18-7157 - Promoting the Internet of Things via Collaboration
between HEIs and Industry (Pitch-In).

\n\nThis app has been specifically developed as part of the research project “Prototyping an
IoT platform for automated IP licensing payments”. Further details are available here:
<a>https://pitch-in.ac.uk/projects/ip-licensing-platform/</a>

\n\nData from all users that choose to participate in this research project will be used to
improve a simulation prototype for usage-based licensing models in the digital economy.

\n\nThis application will be anonymously recording in the background device usage data for
the following features of your mobile phone: Bluetooth, Screentime, Wifi, GPS, NFC and Torch.
The data will be sent regularly to our UK-based servers, where it is stored unassociated with
any personal data.

\n\nTo start using the application, please hit the \'Next\' button.
</string>

<string name="consent_title">Consent of Data Collection</string>
<string name="consent_title_page">Disclaimer</string>
<string name="consent_disclaimer">Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Praesent mollis luctus lacus. Nullam eu nulla lacus. Vestibulum elementum tincidunt sagittis.
Mauris venenatis ornare mauris, vitae consequat felis mattis in. Integer mi metus, scelerisque
sed purus vitae, varius posuere nisi. Pellentesque nunc ante, posuere vitae tortor id,
vulputate viverra libero. Aenean leo leo, venenatis sit amet malesuada at, fermentum sit amet
leo. Aenean sodales odio eget magna elementum luctus. Duis varius nibh sit amet tincidunt dignissim.
Aliquam fringilla volutpat ante nec posuere. Nam pretium maximus tincidunt. Aliquam erat volutpat.
Morbi gravida neque ac semper viverra. Nunc nunc nulla, semper at elit a, tristique consectetur sem.
Aliquam dictum arcu erat, vitae dictum ex rhoncus rhoncus. Vestibulum volutpat luctus lorem,
quis pulvinar metus facilisis viverra.\n\nQuisque dictum augue non mattis facilisis. Integer risus neque,
mattis vitae tellus eget, pulvinar semper nunc. In accumsan id enim ac rhoncus. Nullam
efficitur laoreet odio eu sollicitudin. Mauris consequat ante et ipsum viverra, quis finibus
ligula tristique. Etiam aliquet euismod felis. Vivamus massa sem, lobortis at arcu sed,
dictum ullamcorper nisl. Donec pretium tincidunt quam, ullamcorper ornare lacus scelerisque
eu. Etiam nec magna orci.\n\nSed nulla turpis, ornare non justo et, bibendum condimentum sapien.
Cras ornare venenatis justo,nec aliquam risus tincidunt quis. Pellentesque placerat ex et
consectetur eleifend. Donecsit amet lorem sed nunc lacinia efficitur. Aenean nulla arcu,
congue eget ligula viverra,condimentum dapibus leo. Maecenas ac tellus felis. Donec auctor
pharetra massa aliquamtempus. Nam risus nisl, iaculis quis neque in, maximus laoreet ante.
Integer sollicitudinporttitor vulputate. Suspendisse aliquam lacus velit, quis porttitor
est consectetur ac.Donec condimentum libero non sem porttitor facilisis. Suspendisse vitae
dictum urna, utrutrum libero. Integer sit amet euismod eros. Nullam porttitor ullamcorper
est at cursus.Phasellus scelerisque justo et venenatis maximus.</string>
<string name="consent_disclaimer">
This application will be anonymously recording in the background device usage data for the
following features of your mobile phone: Bluetooth, Screentime, Wifi, GPS, NFC and Torch.
The data will be sent regularly to our UK-based servers, where it is stored unassociated with
any personal data.
</string>
<string name="consent_text">There will be a consent text here.</string>
<string name="consent_must_agree">You need to give consent before participating.</string>

Expand Down Expand Up @@ -91,11 +88,13 @@
<string name="user_message_title_screen_usage">Screen Usage</string>
<string name="user_message_title_gps">Location</string>
<string name="user_message_title_nfc">NFC</string>
<string name="user_message_message">In order to collect your data on %1$s, we do need your
consent. The data collected on this sensor will be stored locally and uploaded to our
servers. This data will not be illustrated with your personal identity in any way, and
it will solely be used for our research. Do you give your consent for us to collect
data on %2$s?</string>
<string name="user_message_message">
In order to collect your data on %1$s, we need your consent. The data collected on this sensor
will be stored locally on your phone in the app and uploaded to our servers. This data will
not be associated with your personal identity in any way, and it will solely be used for this
particular research project. By participating in this research project by hitting the next
button I consent for my %2$s data to be used for this project.
</string>
<string name="user_message_positive">I give my consent</string>
<string name="user_message_negative">Cancel</string>
<string name="user_message_sensor_activation_title">Activation of Sensor</string>
Expand Down

0 comments on commit 9becd43

Please sign in to comment.