User Tag List

Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: transport icons

  1. #1
    learner to be zombie
    Join Date
    Jun 2014
    Posts
    21
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    transport icons

    Good evening guys. I would like to ask how do I go icons to the right as is normally the place.
    Hidden Content

  2. # ADS
    Ads
    Circuit advertisement
    Join Date
    Always
    Posts
    Many
     

  3. #2
    Super Administrator mr.India's Avatar
    Join Date
    May 2014
    Posts
    470
    Post Thanks / Like
    Mentioned
    3 Post(s)
    Tagged
    1 Thread(s)
    Hidden Content Originally Posted by oneironaut84 Hidden Content
    Good evening guys. I would like to ask how do I go icons to the right as is normally the place.
    Hidden Content
    How did you managed to do that? Hidden Content

    It's under /res/layout/statusbar.xml, if I remember right..... You just need to place them like on stock....
    What about clock? You want to keep it in middle? It could make very much problems with other icons....

  4. #3
    learner to be zombie
    Join Date
    Jun 2014
    Posts
    21
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    the clock in the right hand and I want it. I tried just not know what codes to change. Hidden Content
    also differs from the xml stock.

  5. #4
    Super Administrator mr.India's Avatar
    Join Date
    May 2014
    Posts
    470
    Post Thanks / Like
    Mentioned
    3 Post(s)
    Tagged
    1 Thread(s)
    Hidden Content Originally Posted by oneironaut84 Hidden Content
    the clock in the right hand and I want it. I tried just not know what codes to change. Hidden Content
    also differs from the xml stock.
    can you copy-paste the code which is for icons? Let's take a look.... Hidden Content

  6. #5
    learner to be zombie
    Join Date
    Jun 2014
    Posts
    21
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <com.android.systemui.statusbar.StatusBarView android:orientation="vertical" android:background="#00000000" android:focusable="true" android:descendantFocusability="afterDescendants"
      xmlns:android="http://schemas.android.com/apk/res/android">
        <com.b16h22.statusbar.StatusBar android:id="@id/statusbarcolor" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0" />
        <com.android.systemui.statusbar.StatusBarServiceLRPull android:layout_width="fill_parent" android:layout_height="wrap_content">
            <com.android.mkj.PanelSwitcher android:id="@id/alieswicth" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0">
                <LinearLayout android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
                    <LinearLayout android:background="#00ff0000" android:paddingLeft="0.0dip" android:paddingRight="0.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="10.0">
                        <LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentLeft="true" />
                        <com.android.systemui.statusbar.tweaks.BatteryText android:textSize="16.5dip" android:textStyle="bold" android:gravity="right|center" android:orientation="horizontal" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
                    </LinearLayout>
                    <LinearLayout android:gravity="right" android:layout_gravity="right" android:background="#0000ff00" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="11.0">
                        <DigitalClock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textSize="14.0sp" android:textStyle="normal" android:textColor="#ffffffff" android:gravity="left" android:paddingRight="1.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="false" />
                        <com.android.systemui.statusbar.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="6.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />
                    </LinearLayout>
                </LinearLayout>
                <RelativeLayout android:background="@drawable/statbar" android:layout_width="fill_parent" android:layout_height="wrap_content">
                    <in.jmkl.dcsms.statusbargreper.DcsmsLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
                        <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentLeft="true">
                            <in.jmkl.dcsms.statusbargreper.CarrierImage android:layout_width="wrap_content" android:layout_height="wrap_content" android:adjustViewBounds="true" />
                        </LinearLayout>
                        <com.android.systemui.statusbar.IconMerger android:gravity="right|center" android:id="@id/notificationIcons" android:layout_width="50.0dip" android:layout_height="fill_parent" />
                        <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentRight="true">
                            <in.jmkl.dcsms.statusbargreper.Icon android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
                            <in.jmkl.dcsms.statusbargreper.JamSamping android:layout_gravity="center_vertical" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
                            <LinearLayout android:orientation="horizontal" android:id="@id/icons" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="fill_parent">
                                <LinearLayout android:gravity="right" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="0.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
                            </LinearLayout>
                        </LinearLayout>
                    </in.jmkl.dcsms.statusbargreper.DcsmsLayout>
                    <in.jmkl.dcsms.statusbargreper.Jam android:textSize="18.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_centerHorizontal="true" android:layout_centerVertical="true" />
                </RelativeLayout>
            </com.android.mkj.PanelSwitcher>
        </com.android.systemui.statusbar.StatusBarServiceLRPull>
        <LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
            <ImageSwitcher android:id="@id/tickerIcon" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="8.0dip">
                <com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
                <com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
            </ImageSwitcher>
            <com.android.systemui.statusbar.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
                <TextView android:textAppearance="@android:style/TextAppearance.StatusBar.Ticker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
                <TextView android:textAppearance="@android:style/TextAppearance.StatusBar.Ticker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
            </com.android.systemui.statusbar.TickerView>
        </LinearLayout>
        <com.android.systemui.statusbar.DateView android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textSize="0.0sp" android:textColor="#00000000" android:gravity="left|center" android:id="@id/date" android:background="#00000000" android:paddingLeft="6.0px" android:paddingRight="6.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
        <com.android.systemui.statusbar.tweaks.BatteryBar android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="center_vertical" android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
    </com.android.systemui.statusbar.StatusBarView>
    - - - Updated - - -

    systemui/layout/statusbar.xml

  7. #6
    Super Administrator mr.India's Avatar
    Join Date
    May 2014
    Posts
    470
    Post Thanks / Like
    Mentioned
    3 Post(s)
    Tagged
    1 Thread(s)
    Change to this:
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <com.android.systemui.statusbar.StatusBarView android:orientation="vertical" android:background="#00000000" android:focusable="true" android:descendantFocusability="afterDescendants"
      xmlns:android="http://schemas.android.com/apk/res/android">
        <com.b16h22.statusbar.StatusBar android:id="@id/statusbarcolor" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0" />
        <com.android.systemui.statusbar.StatusBarServiceLRPull android:layout_width="fill_parent" android:layout_height="wrap_content">
            <com.android.mkj.PanelSwitcher android:id="@id/alieswicth" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0">
                <LinearLayout android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
                    <LinearLayout android:background="#00ff0000" android:paddingLeft="0.0dip" android:paddingRight="0.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="10.0">
                        <LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentLeft="true" />
                        <com.android.systemui.statusbar.tweaks.BatteryText android:textSize="16.5dip" android:textStyle="bold" android:gravity="left|center" android:orientation="horizontal" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
    		<com.android.systemui.statusbar.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="6.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />
                    </LinearLayout>
                    <LinearLayout android:gravity="right" android:layout_gravity="right" android:background="#0000ff00" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="11.0">
                        <DigitalClock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textSize="14.0sp" android:textStyle="normal" android:textColor="#ffffffff" android:gravity="left" android:paddingRight="1.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="false" />
                    </LinearLayout>
                </LinearLayout>
                <RelativeLayout android:background="@drawable/statbar" android:layout_width="fill_parent" android:layout_height="wrap_content">
                    <in.jmkl.dcsms.statusbargreper.DcsmsLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
                        <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentLeft="true">
                            <in.jmkl.dcsms.statusbargreper.CarrierImage android:layout_width="wrap_content" android:layout_height="wrap_content" android:adjustViewBounds="true" />
                        </LinearLayout>
                        <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentRight="true">
                            <in.jmkl.dcsms.statusbargreper.Icon android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
                            <in.jmkl.dcsms.statusbargreper.JamSamping android:layout_gravity="center_vertical" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
                            <LinearLayout android:orientation="horizontal" android:id="@id/icons" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="fill_parent">
                                <LinearLayout android:gravity="right" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="0.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
                            </LinearLayout>
                        </LinearLayout>
                    </in.jmkl.dcsms.statusbargreper.DcsmsLayout>
                    <in.jmkl.dcsms.statusbargreper.Jam android:textSize="18.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_centerHorizontal="true" android:layout_centerVertical="true" />
                </RelativeLayout>
            </com.android.mkj.PanelSwitcher>
        </com.android.systemui.statusbar.StatusBarServiceLRPull>
        <LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
            <ImageSwitcher android:id="@id/tickerIcon" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="8.0dip">
                <com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
                <com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
            </ImageSwitcher>
            <com.android.systemui.statusbar.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
                <TextView android:textAppearance="@android:style/TextAppearance.StatusBar.Ticker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
                <TextView android:textAppearance="@android:style/TextAppearance.StatusBar.Ticker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
            </com.android.systemui.statusbar.TickerView>
        </LinearLayout>
        <com.android.systemui.statusbar.DateView android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textSize="0.0sp" android:textColor="#00000000" android:gravity="left|center" android:id="@id/date" android:background="#00000000" android:paddingLeft="6.0px" android:paddingRight="6.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
        <com.android.systemui.statusbar.tweaks.BatteryBar android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="center_vertical" android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
    </com.android.systemui.statusbar.StatusBarView>
    This should fix it....
    Last edited by mr.India; 07-05-2014 at 06:54 PM.

  8. #7
    Super Administrator mr.India's Avatar
    Join Date
    May 2014
    Posts
    470
    Post Thanks / Like
    Mentioned
    3 Post(s)
    Tagged
    1 Thread(s)
    But there are still very much of layout errors - clock is moved to left side, date is moved to left too and others....
    You want to change them too?

  9. #8
    learner to be zombie
    Join Date
    Jun 2014
    Posts
    21
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I want to change them yes. the clock is to be overwritten with another. without the seconds if it is easier.

  10. #9
    Super Administrator mr.India's Avatar
    Join Date
    May 2014
    Posts
    470
    Post Thanks / Like
    Mentioned
    3 Post(s)
    Tagged
    1 Thread(s)
    Hidden Content Originally Posted by oneironaut84 Hidden Content
    I want to change them yes. the clock is to be overwritten with another. without the seconds if it is easier.
    Then final code should look like this:
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <com.android.systemui.statusbar.StatusBarView android:orientation="vertical" android:background="#00000000" android:focusable="true" android:descendantFocusability="afterDescendants"
      xmlns:android="http://schemas.android.com/apk/res/android">
        <com.b16h22.statusbar.StatusBar android:id="@id/statusbarcolor" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0" />
        <com.android.systemui.statusbar.StatusBarServiceLRPull android:layout_width="fill_parent" android:layout_height="wrap_content">
            <com.android.mkj.PanelSwitcher android:id="@id/alieswicth" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0">
                <LinearLayout android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
                    <LinearLayout android:background="#00ff0000" android:paddingLeft="0.0dip" android:paddingRight="0.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="10.0">
                        <LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentLeft="true" />
                        <com.android.systemui.statusbar.tweaks.BatteryText android:textSize="16.5dip" android:textStyle="bold" android:gravity="left|center" android:orientation="horizontal" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
            <com.android.systemui.statusbar.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="6.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />
                    </LinearLayout>
                    <LinearLayout android:gravity="right" android:layout_gravity="right" android:background="#0000ff00" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="11.0">
                        <DigitalClock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textSize="14.0sp" android:textStyle="normal" android:textColor="#ffffffff" android:gravity="right" android:paddingRight="1.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="false" />
                    </LinearLayout>
                </LinearLayout>
                <RelativeLayout android:background="@drawable/statbar" android:layout_width="fill_parent" android:layout_height="wrap_content">
                    <in.jmkl.dcsms.statusbargreper.DcsmsLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
                        <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentLeft="true">
                            <in.jmkl.dcsms.statusbargreper.CarrierImage android:layout_width="wrap_content" android:layout_height="wrap_content" android:adjustViewBounds="true" />
                        </LinearLayout>
                        <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentRight="true">
                            <in.jmkl.dcsms.statusbargreper.Icon android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
                            <in.jmkl.dcsms.statusbargreper.JamSamping android:layout_gravity="center_vertical" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
                            <LinearLayout android:orientation="horizontal" android:id="@id/icons" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="fill_parent">
                                <LinearLayout android:gravity="right" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="0.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
                            </LinearLayout>
                        </LinearLayout>
                    </in.jmkl.dcsms.statusbargreper.DcsmsLayout>
                    <in.jmkl.dcsms.statusbargreper.Jam android:textSize="18.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_centerHorizontal="true" android:layout_centerVertical="true" />
                </RelativeLayout>
            </com.android.mkj.PanelSwitcher>
        </com.android.systemui.statusbar.StatusBarServiceLRPull>
        <LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
            <ImageSwitcher android:id="@id/tickerIcon" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="8.0dip">
                <com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
                <com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
            </ImageSwitcher>
            <com.android.systemui.statusbar.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
                <TextView android:textAppearance="@android:style/TextAppearance.StatusBar.Ticker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
                <TextView android:textAppearance="@android:style/TextAppearance.StatusBar.Ticker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
            </com.android.systemui.statusbar.TickerView>
        </LinearLayout>
        <com.android.systemui.statusbar.DateView android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textSize="0.0sp" android:textColor="#00000000" android:gravity="right|center" android:id="@id/date" android:background="#00000000" android:paddingLeft="6.0px" android:paddingRight="6.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
        <com.android.systemui.statusbar.tweaks.BatteryBar android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="center_vertical" android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
    </com.android.systemui.statusbar.StatusBarView>
    Test if it works.... I am unsure about Dcsms and other tweaks - I have no idea where they should be placed....

  11. Thanks oneironaut84 thanked for this post
  12. #10
    learner to be zombie
    Join Date
    Jun 2014
    Posts
    21
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The watch is okay bro. the rest still left
    Hidden Content

    - - - Updated - - -

    can you send the full file?


Similar Threads

  1. Firefox OS Icons
    By W2n in forum Share Things [SGYD GT-S6102] And Similars
    Replies: 0
    Last Post: 06-26-2014, 04:48 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •