Skip to content

Commit

Permalink
2.2.0-dev
Browse files Browse the repository at this point in the history
- Dev of 2.2.0
- Add dial/call button
- Amateur radio station detail page
  • Loading branch information
mypapit committed May 2, 2016
1 parent 258aedc commit e2974c0
Show file tree
Hide file tree
Showing 22 changed files with 798 additions and 380 deletions.
13 changes: 7 additions & 6 deletions AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission
android:name="net.mypapit.mobile.myrepeater.permission.MAPS_RECEIVE" />
<uses-permission android:name="net.mypapit.mobile.myrepeater.permission.MAPS_RECEIVE" />

<application
android:allowBackup="true"
Expand Down Expand Up @@ -73,7 +72,6 @@
android:name="android.support.PARENT_ACTIVITY"
android:value="net.mypapit.mobile.myrepeater.RepeaterListActivity" />
</activity>

<activity
android:name="com.google.android.gms.ads.AdActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize" />
Expand Down Expand Up @@ -101,9 +99,8 @@
</activity>
<activity
android:name=".WalkthroughActivity"
android:label="@string/title_activity_walkthrough"
android:theme="@style/LightTheme"
>
android:label="@string/title_activity_walkthrough"
android:theme="@style/LightTheme" >
</activity>
<activity
android:name=".HelpOverlay"
Expand All @@ -116,6 +113,10 @@
android:name="android.support.PARENT_ACTIVITY"
android:value="net.mypapit.mobile.myrepeater.RepeaterListActivity" />
</activity>
<activity
android:name=".CallsignDetailsActivity"
android:label="@string/title_activity_callsign_details" >
</activity>
</application>

</manifest>
1 change: 1 addition & 0 deletions project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ target=Google Inc.:Google APIs:17
android.library=false
android.library.reference.1=../../SDK/JakeWharton-Android-ViewPagerIndicator-8cd549f/library
android.library.reference.2=../google-play-services_lib
android.library.reference.3=../appcompat_v7
187 changes: 187 additions & 0 deletions res/layout/callsign_detail_layout.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,187 @@
<?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"
android:paddingTop="10dip"
xmlns:ads="http://schemas.android.com/apk/res-auto"
>


<TextView

android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="Handle"
android:textStyle="bold"
android:layout_marginLeft="10dip"

android:paddingBottom="3dip"
android:textColor="@color/holo_blue"
/>

<View style="@style/Divider"/>

<TextView
android:id="@+id/tvcmiHandle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Mohammad Hafiz"
android:layout_marginLeft="10dip"
android:textSize="16sp"

android:paddingBottom="6dip"


/>

<TextView

android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Status"
android:textStyle="bold"
android:layout_marginLeft="10dip"

android:paddingBottom="3dip"
android:textColor="@color/holo_blue"
/>

<View style="@style/Divider"/>

<TextView
android:id="@+id/tvcmiStatus"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dip"
android:paddingBottom="6dip"
android:text="Teh tarik session - at mamak"
android:textSize="16sp" />

<TextView

android:id="@+id/TitlecmiPhone"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Phone"
android:textStyle="bold"
android:layout_marginLeft="10dip"

android:paddingBottom="3dip"
android:textColor="@color/holo_blue"
/>

<View style="@style/Divider" android:id="@+id/DividercmiPhone"/>
<LinearLayout
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
>
<TextView
android:id="@+id/tvcmiPhone"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dip"
android:paddingBottom="6dip"
android:text="+60120000"
android:textSize="16sp" />
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
>

<ImageButton
android:id="@+id/btnCall"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:src="@android:drawable/ic_menu_call" />

</RelativeLayout>
</LinearLayout>


<TextView

android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Last Seen"
android:textStyle="bold"
android:layout_marginLeft="10dip"

android:paddingBottom="3dip"
android:textColor="@color/holo_blue"
/>

<View style="@style/Divider"/>

<TextView
android:id="@+id/tvcmiLastSeen"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dip"
android:paddingBottom="6dip"
android:text="2 hours ago"
android:textSize="16sp" />
<TextView

android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Locality"
android:textStyle="bold"
android:layout_marginLeft="10dip"

android:paddingBottom="3dip"
android:textColor="@color/holo_blue"
/>

<View style="@style/Divider"/>

<TextView
android:id="@+id/tvcmiLocality"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dip"
android:paddingBottom="6dip"
android:text="around Alor Setar"
android:textSize="16sp" />
<TextView

android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Client"
android:textStyle="bold"
android:layout_marginLeft="10dip"

android:paddingBottom="3dip"
android:textColor="@color/holo_blue"
/>

<View style="@style/Divider"/>

<TextView
android:id="@+id/tvcmiClient"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dip"
android:paddingBottom="6dip"
android:text="Repeater.MY/2.2.0"
android:textSize="16sp" />

<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content">

<com.google.android.gms.ads.AdView
android:id="@+id/adViewcallsign"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"

ads:adSize="BANNER"
ads:adUnitId="@string/ad_unit_id"/>

</RelativeLayout>


</LinearLayout>
1 change: 1 addition & 0 deletions res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,6 @@
<string name="title_activity_walkthrough">New in Repeater.MY</string>
<string name="title_activity_help_overlay">Tips</string>
<string name="title_activity_simplex">Simplex Freq</string>
<string name="title_activity_callsign_details">CallsignDetailsActivity</string>

</resources>
Loading

0 comments on commit e2974c0

Please sign in to comment.