Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8cb347ee authored by Wysie's avatar Wysie
Browse files

2.35 beta. Group call logging (mostly code from geesun) is working now. Still...

2.35 beta. Group call logging (mostly code from geesun) is working now. Still some stuffs left to do.
parent b207437f
Loading
Loading
Loading
Loading
+32 −28
Original line number Diff line number Diff line
@@ -19,21 +19,24 @@
    android:layout_height="fill_parent"
    android:orientation="vertical"
>

    <LinearLayout
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:background="@android:drawable/title_bar_tall"
        android:orientation="horizontal"
        android:gravity="center_vertical"
        android:paddingLeft="9dip"
        android:paddingRight="5dip"
    >
    
        <ImageView android:id="@+id/icon"
            android:layout_width="32dip"
            android:layout_height="32dip"
            android:layout_marginRight="5dip"
        <ImageView
            android:id="@+id/photo"
            style="?android:attr/imageWellStyle"
            android:layout_width="78dip"
            android:layout_height="78dip"
            android:layout_marginRight="7dip"
            android:layout_marginLeft="2dip"
            android:scaleType="fitXY"
            android:background="@drawable/btn_contact_picture"
        />
        
        <LinearLayout
@@ -44,35 +47,41 @@
            android:layout_marginLeft="5dip"
        >
        
            <TextView android:id="@+id/type"
            <TextView                    
                android:id="@+id/name"
                android:layout_width="wrap_content"
                android:layout_weight="1"
                android:layout_height="wrap_content"
                android:textAppearance="?android:attr/textAppearanceLarge"
                android:shadowColor="#BB000000"
                android:shadowRadius="2.75"
                android:maxLines="2"
                android:ellipsize="end"
                android:text="@string/unknown"
            />

            <TextView android:id="@+id/time"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:textAppearance="?android:attr/textAppearanceSmall"
                android:textColor="?android:attr/textColorPrimaryInverse"
            />
        
            <TextView android:id="@+id/duration"
            <TextView android:id="@+id/number"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:textAppearance="?android:attr/textAppearanceSmall"
                android:textColor="?android:attr/textColorPrimaryInverse"
                android:text="@string/unknown"
            />

        </LinearLayout>

    </LinearLayout>  
          
    <FrameLayout
        android:layout_height="0dip"
        android:layout_width="fill_parent"
        android:layout_height="0dip"
        android:layout_weight="1"
    >
    
        <View
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:background="@drawable/title_bar_shadow"
        />
    
        <ListView android:id="@android:id/list"
            android:layout_width="fill_parent" 
            android:layout_height="fill_parent"
@@ -98,11 +107,6 @@

        </ScrollView>

        <View
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:background="@drawable/title_bar_shadow"
        />

    </FrameLayout>

</LinearLayout>
+89 −30
Original line number Diff line number Diff line
@@ -27,52 +27,111 @@
    android:gravity="center_vertical"
>

    <ImageView android:id="@+id/icon"
        android:layout_width="32dip"
        android:layout_height="32dip"
        android:layout_marginRight="5dip"
        android:gravity="center"
        android:scaleType="centerInside"
    />

    <LinearLayout
        android:layout_width="0dip"
        android:layout_height="wrap_content"
        android:layout_weight="1"
        android:layout_marginLeft="5dip"
        android:paddingTop="5dip"
        android:paddingBottom="7dip"
        android:orientation="vertical"
        android:gravity="center_vertical"
    <RelativeLayout android:id="@+id/line_action"
        android:layout_width="fill_parent"
        android:layout_height="?android:attr/listPreferredItemHeight"
        android:paddingLeft="0dip"
        android:paddingRight="0dip"
    >
    
        <TextView android:id="@android:id/text1"
        <ImageView android:id="@+id/sms_icon"
            android:layout_width="wrap_content"
            android:layout_height="fill_parent"
            android:paddingLeft="8dip"
            android:paddingRight="8dip"
            android:src="@drawable/sym_action_sms"
            android:background="@android:drawable/list_selector_background"
            android:layout_alignParentRight="true"
        />
        
        <TextView android:id="@+id/call"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginLeft="11dip"
            android:textAppearance="?android:attr/textAppearanceLarge"
            android:text="@string/callBack"
            android:layout_alignParentLeft="true"
            android:layout_marginTop="17dip"
            android:gravity="center_vertical"
        />
        
        <View android:id="@+id/divider1"
            android:layout_width="1dip"
            android:layout_marginLeft="4dip"
            android:layout_height="fill_parent"
            android:layout_toLeftOf="@id/sms_icon"
            android:layout_marginRight="4dip"
            android:background="@drawable/divider_vertical_dark"
        />
        
        <LinearLayout android:id="@+id/line2"
        <ImageView android:id="@+id/call_icon"
            android:layout_width="wrap_content"
            android:layout_height="fill_parent"
            android:paddingLeft="8dip"
            android:paddingRight="8dip"
            android:gravity="center_vertical"
            android:layout_toLeftOf="@id/divider1"
            android:src="@android:drawable/sym_action_call"
            android:background="@android:drawable/list_selector_background"
        />
        
    </RelativeLayout>
    
    <LinearLayout android:id="@+id/line_log"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:minHeight="?android:attr/listPreferredItemHeight"
        android:orientation="horizontal"
        android:gravity="center_vertical"
    >
    
        <ImageView android:id="@+id/icon"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:paddingLeft="4dip"
            android:paddingRight="4dip"
            android:gravity="center"
            android:scaleType="centerInside"
        />
        
        <RelativeLayout 
            android:layout_width="wrap_content"
            android:layout_height="fill_parent"
            android:paddingTop="5dip"
        >
            <TextView android:id="@+id/label"
        
            <TextView android:id="@+id/type"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginRight="5dip"
                android:layout_marginLeft="11dip"
                android:layout_alignParentLeft="true"
                android:layout_alignParentTop="true"
                android:textAppearance="?android:attr/textAppearanceSmall"
                android:textStyle="bold"   
                android:text="@string/menu_sendTextMessage"
            />
            
            <TextView android:id="@+id/number"
            <TextView android:id="@+id/duration"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginRight="11dip"
                android:layout_alignParentRight="true"
                android:layout_alignBaseline="@id/type"
                android:textAppearance="?android:attr/textAppearanceSmall"
            />
        </LinearLayout>
            
    </LinearLayout>
            <TextView android:id="@+id/time"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignParentLeft="true"
                android:layout_alignParentBottom="true"
                android:singleLine="true"
                android:layout_marginBottom="8dip"
                android:layout_marginTop="-8dip"
                android:layout_marginLeft="11dip"
                android:textAppearance="?android:attr/textAppearanceSmall"
            />

        </RelativeLayout>
    </LinearLayout>
</LinearLayout>
+2 −4
Original line number Diff line number Diff line
@@ -839,7 +839,7 @@
    <string name="title_about_name">Mod Name</string>
    <string name="summary_about_name">Wysie Contacts</string>
    <string name="title_about_version">Version</string>
    <string name="summary_about_version">2.34</string>
    <string name="summary_about_version">2.5 beta</string>
    <string name="title_about_credits">Credits</string>
    <string name="summary_about_credits">ChainsDD and the rest of XDA! :)</string>
    
@@ -851,12 +851,10 @@
    <string name="alert_clear_freq_called">Clear frequently called</string>
    <string name="alert_clear_freq_called_msg">Are you sure you want to clear all frequently called entries?</string>
    
    
    <!-- Wysie_Soh: View contact strings -->
    <string name="view_contact_navigate">Navigate to</string>
    <string name="view_contact_groups">Groups</string>    
    
    
    <!-- Wysie_Soh: Groups management -->
    <string name="help_title">Usage</string>
    <string name="help_message">
+336 −177

File changed.

Preview size limit exceeded, changes collapsed.

+637 −392

File changed.

Preview size limit exceeded, changes collapsed.