Project

General

Profile

« Previous | Next » 

Revision b372b2cd

Added by Leszek Koltunski 6 months ago

Fix selected colors in case of the orange and pink themes.

View differences:

src/main/java/org/distorted/helpers/BaseActivity.java
162 162
///////////////////////////////////////////////////////////////////////////////////////////////////
163 163

  
164 164
    public int getDarkTrans()
165
    {
166
        return mDarkT;
167
    }
165
      {
166
      return mDarkT;
167
      }
168 168

  
169 169
///////////////////////////////////////////////////////////////////////////////////////////////////
170 170

  
171 171
    public int getLightTrans()
172
    {
173
        return mLightT;
174
    }
172
      {
173
      return mLightT;
174
      }
175 175

  
176 176
///////////////////////////////////////////////////////////////////////////////////////////////////
177 177

  
178 178
    public int getSelectedColor()
179
    {
180
        return mSelectC;
181
    }
179
      {
180
      return mSelectC;
181
      }
182 182

  
183 183
///////////////////////////////////////////////////////////////////////////////////////////////////
184 184

  
......
320 320
      {
321 321
      return mScreenHeight;
322 322
      }
323

  
324 323
}
src/main/res/values/colors.xml
41 41
    <color name="passedPink">#ff00a000</color>
42 42
    <color name="transLPink">#ccff5555</color>
43 43
    <color name="transDPink">#ccff4444</color>
44
    <color name="selectPink">#ffff0000</color>
44
    <color name="selectPink">#ff00ff00</color>
45 45

  
46 46
    <color name="veryDarkOrange">#ffff2008</color>
47 47
    <color name="darkOrange">#ffff5015</color>
......
51 51
    <color name="passedOrange">#ff00a000</color>
52 52
    <color name="transLOrange">#ccff6020</color>
53 53
    <color name="transDOrange">#ccff5015</color>
54
    <color name="selectOrange">#ffff0000</color>
54
    <color name="selectOrange">#ff00ff00</color>
55 55
</resources>

Also available in: Unified diff